IsolateGetter class abstract
Interface for exposing the compute function for a StatefulIsolate.
Useful when wrapping the functionality and just want to expose the computation functions.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compute<
Q, R> (IsolateCallback< Q, R> callback, Q message, {String? debugLabel}) → Future<R> - The compute function, used in the same way as Flutter's compute function, but for a long lived isolate.
-
computeStream<
Q, R> (IsolateStream< Q, R> callback, Q message, {String? debugLabel}) → Stream<R> - A computation function that returns a Stream of responses from the long lived isolate.
-
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