IsolateController<Input, Output> class
abstract
Isolate controller.
- Implemented types
-
- EventSink<
Input>
- EventSink<
Constructors
-
IsolateController(IsolateHandler<
Input, Output> handler, {bool lazy, String? debugLabel}) -
Isolate controller.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClosed → bool
-
Whether the stream controller is closed for adding more events.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
Output> -
Output data & error stream
no setter
Methods
-
add(
Input event) → void -
Adds a data
event
to the sink.inherited -
addError(
Object error, [StackTrace? stackTrace]) → void -
Adds an
error
to the sink.inherited -
close(
{bool force = false}) → Future< void> -
Closes the sink.
override
-
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