VmClient class
VM-service connection scoped to the first Flutter isolate.
Constructors
- VmClient()
Properties
- connectedUri → Uri?
-
no setter
- flutterIsolate → Isolate
-
no setter
- flutterIsolateId → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConnected → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIsolateId → String?
-
The selected Flutter isolate's id, or null before one is selected.
no setter
- service → VmService
-
no setter
Methods
-
attach(
Uri vmServiceUri) → Future< void> -
disconnect(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ready(
) → Future< void> - Resolves once any in-flight isolate re-selection has finished.
-
reselect(
) → Future< void> - Picks the Flutter isolate again, e.g. after a hot restart replaced it; concurrent callers share one attempt.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- readTimeout → const Duration
- Longest one VM read may take during attach; a suspended app (device locked) never answers.
- reselectTimeout → const Duration
- Longest a hot restart may take to bring up a new Flutter isolate with its widget tree.