AqueductContext class
Shared context abstraction for both the main and spawned isolates.
Constructors
- AqueductContext(Isolate? isolate, Stream events, SendPort dataPort, SendPort? callbackPort, ReceivePort receiver)
-
const
Properties
- callbackPort → SendPort?
-
Reference to the outgoing callback port. Only present in the spawned isolate.
final
- dataPort → SendPort
-
Reference to the outgoing event stream. Present in both isolates.
final
- events → Stream
-
Reference to the incoming event stream. Present in both isolates.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isolate → Isolate?
-
Reference to the spawned isolate. Only present in the main isolate.
final
- receiver → ReceivePort
-
Reference to the receiving event port. Present in both isolates.
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