IsolateManager class final
- Mixed-in types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hotRestartInProgress ↔ bool
-
getter/setter pair
-
isolates
→ ValueListenable<
List< IsolateRef> > -
no setter
-
listenables
→ List<
Listenable> -
no setterinherited
-
listeners
→ List<
void Function()> -
Not using VoidCallback because of
https://github.com/dart-lang/mockito/issues/579
no setterinherited
-
mainIsolate
→ ValueListenable<
IsolateRef?> -
no setter
- mainIsolateState → IsolateState?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedIsolate
→ ValueListenable<
IsolateRef?> -
no setter
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
callback
whentrigger
's value satisfies thereadyWhen
function.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
-
handleVmServiceClosed(
) → void -
init(
List< IsolateRef> isolates) → Future<void> -
initIsolates(
List< IsolateRef> isolates) → Future<void> -
isolateIndex(
IsolateRef isolateRef) → int? - Return a unique, monotonically increasing number for this Isolate.
-
isolateState(
IsolateRef isolateRef) → IsolateState -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resumeIsolate(
IsolateRef isolateRef) → Future< void> -
Resumes the isolate by calling
DdsExtension.readyToResume
. -
selectIsolate(
IsolateRef? isolateRef) → void -
toString(
) → String -
A string representation of this object.
inherited
-
vmServiceOpened(
VmService service) → void -
waitForMainIsolateState(
) → Future< IsolateState?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited