IsolateContext class

IsolateContext holds an argument, passed while you spawn Isolate, IsolateMessenger which is used to communicate with original Isolate and CombineIsolate which is represents current Isolate.

Constructors

IsolateContext({required Object? argument, required IsolateMessenger messenger, required CombineIsolate isolate})
const

Properties

argument Object?
Argument, passed while you spawn Isolate.
final
hashCode int
The hash code for this object.
no setterinherited
isolate CombineIsolate
final
messenger IsolateMessenger
Messenger which is used to communicate with original Isolate.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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