IsolateTask<T, R> class
abstract
Extend this class like so:
class FibonacciTask extends IsolateTask /*<int, int>*/ {
FibonacciTask(int payload) : super(payload);
@override
int execute(int payload) {
return fibonacci(payload);
}
}
Constructors
Properties
Methods
-
execute(
) → R -
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