IsolateRef class Null safety
IsolateRef
is a reference to an Isolate
object.
Constructors
- IsolateRef({String? id, String? number, String? name, bool? isSystemIsolate})
Properties
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- id ↔ String?
-
The id which is passed to the getIsolate RPC to load this isolate.
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 / write -
json
↔ Map<
String, dynamic> ? -
read / writeinherited
- name ↔ String?
-
A name identifying this isolate. Not guaranteed to be unique.
read / write
- number ↔ String?
-
A numeric id for this isolate, represented as a string. Unique.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- 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) → IsolateRef? -
override