TaskWithPort<R> class
Constructors
-
TaskWithPort.new({required String id, required Completer<
R> completer, required WorkPriority workPriority, required ExecuteWithPort<R> execution, required void onMessage(Object value)})
Properties
- canceled → bool
-
no setterinherited
-
completer
→ Completer<
R> -
finalinherited
-
execution
→ ExecuteWithPort<
R> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
- onMessage → void Function(Object value)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workPriority → WorkPriority
-
finalinherited
Methods
-
cancel(
) → void -
inherited
-
compareTo(
covariant Task other) → int -
Compares this object to another object.
inherited
-
complete(
R? value, Object? error, StackTrace? st) → void -
inherited
-
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 ==(
covariant Task other) → bool -
The equality operator.
inherited