Skip to content

Commit 0fd4a05

Browse files
committed
Fix analysis
1 parent 6623945 commit 0fd4a05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dwds/lib/src/services/proxy_service.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,27 @@ import 'package:vm_service_interface/vm_service_interface.dart';
2121
const pauseIsolatesOnStartFlag = 'pause_isolates_on_start';
2222

2323
/// Abstract base class for VM service proxy implementations.
24-
abstract class ProxyService<T extends AppInspector>
24+
abstract class ProxyService<InspectorT extends AppInspector>
2525
implements VmServiceInterface {
2626
/// Cache of all existing StreamControllers.
2727
///
2828
/// These are all created through [onEvent].
2929
final Map<String, StreamController<vm_service.Event>> _streamControllers = {};
3030

3131
/// Provides variable inspection functionality.
32-
T get inspector {
32+
InspectorT get inspector {
3333
if (_inspector == null) {
3434
throw StateError('No running isolate (inspector is not set).');
3535
}
3636
return _inspector!;
3737
}
3838

3939
@protected
40-
set inspector(T? inspector) {
40+
set inspector(InspectorT? inspector) {
4141
_inspector = inspector;
4242
}
4343

44-
T? _inspector;
44+
InspectorT? _inspector;
4545

4646
/// Determines if there an isolate running currently.
4747
///

0 commit comments

Comments
 (0)