Isolate class Null safety

An Isolate object provides information about one isolate in the VM.

Inheritance
Implemented types

Constructors

Isolate({String? id, String? number, String? name, bool? isSystemIsolate, List<IsolateFlag>? isolateFlags, int? startTime, bool? runnable, int? livePorts, bool? pauseOnExit, Event? pauseEvent, List<LibraryRef>? libraries, List<Breakpoint>? breakpoints, String? exceptionPauseMode, LibraryRef? rootLib, Error? error, List<String>? extensionRPCs})

Properties

breakpoints List<Breakpoint>?
A list of all breakpoints for this isolate.
read / write
error Error?
The error that is causing this isolate to exit, if applicable.
optional">@optionalread / write
exceptionPauseMode String?
The current pause on exception mode for this isolate.
read / write
extensionRPCs List<String>?
The list of service extension RPCs that are registered for this isolate, if any.
optional">@optionalread / write
hashCode int
The hash code for this object.
read-onlyoverride
id String?
The id which is passed to the getIsolate RPC to reload this isolate.
read / writeoverride
isolateFlags List<IsolateFlag>?
The list of isolate flags provided to this isolate. See Dart_IsolateFlags in dart_api.h for the list of accepted isolate flags.
read / write
isSystemIsolate bool?
Specifies whether the isolate was spawned by the VM or embedder for internal use. If false, this isolate is likely running user code.
read / writeoverride
json Map<String, dynamic>?
read / writeinherited
libraries List<LibraryRef>?
A list of all libraries for this isolate.
read / write
livePorts int?
The number of live ports for this isolate.
read / write
name String?
A name identifying this isolate. Not guaranteed to be unique.
read / writeoverride
number String?
A numeric id for this isolate, represented as a string. Unique.
read / writeoverride
pauseEvent Event?
The last pause event delivered to the isolate. If the isolate is running, this will be a resume event.
read / write
pauseOnExit bool?
Will this isolate pause when exiting?
read / write
rootLib LibraryRef?
The root library for this isolate.
optional">@optionalread / write
runnable bool?
Is the isolate in a runnable state?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
startTime int?
The time that the VM started in milliseconds since the epoch.
read / write
type String
read-onlyoverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

parse(Map<String, dynamic>? json) Isolate?
override