IsolateRef class Null safety
IsolateRef
is a reference to an Isolate
object.
Constructors
- IsolateRef({required String? id, required String? number, required String? name, required bool? isSystemIsolate})
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- 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 / write, inherited
- 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-only, inherited
- type → String
-
read-only, override
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