ServiceExtensionManager class final
Manager that handles tracking the service extension for the main isolate.
- Mixed-in types
Constructors
- ServiceExtensionManager(IsolateManager _isolateManager)
Properties
- connectedApp → ConnectedApp
- 
  
  no setter
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- 
  listenables
  → List<Listenable> 
- 
  
  no setterinherited
- 
  listeners
  → List<void Function()> 
- 
  Not using VoidCallback because of
https://github.com/dart-lang/mockito/issues/579
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  addAutoDisposeListener(Listenable? listenable, [VoidCallback? listener, String? id]) → void 
- 
  Add a listener to a Listenable object that is automatically removed when
cancel is called.
  inherited
- 
  autoDisposeFocusNode(FocusNode? node) → void 
- 
  Track a focus node that will be automatically disposed on dispose.
  inherited
- 
  autoDisposeStreamSubscription(StreamSubscription subscription) → void 
- 
  Track a stream subscription to be automatically cancelled on dispose.
  inherited
- 
  callOnceWhenReady<T> ({required VoidCallback callback, required ValueListenable< T> trigger, required bool readyWhen(T triggerValue)}) → void
- 
  Runs callbackwhentrigger's value satisfies thereadyWhenfunction.inherited
- 
  cancelFocusNodes() → void 
- 
  Cancel all focus nodes added.
  inherited
- 
  cancelListener(VoidCallback? listener) → void 
- 
  Cancels a single listener, if present.
  inherited
- 
  cancelListeners({List< String> excludeIds = const <String>[]}) → void
- 
  Cancel all listeners added.
  inherited
- 
  cancelStreamSubscriptions() → void 
- 
  Cancel all stream subscriptions added.
  inherited
- 
  getServiceExtensionState(String name) → ValueListenable< ServiceExtensionState> 
- 
  hasServiceExtension(String name) → ValueListenable< bool> 
- 
  isServiceExtensionAvailable(String name) → bool 
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  setServiceExtensionState(String name, {required bool enabled, required Object? value, bool callExtension = true}) → Future< void> 
- Sets the state for a service extension and makes the call to the VMService.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  vmServiceClosed() → void 
- 
  vmServiceOpened(VmService service, ConnectedApp connectedApp) → void 
- 
  waitForServiceExtensionAvailable(String name) → Future< bool> 
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited