BaseTask<S, E extends Object, WireSyncType> class
abstract
Base class for various kinds of tasks.
Normally you do not manually create instances of this task (or its brothers), but instead it is generated automatically by the codegen.
- Implementers
- Annotations
-
- @immutable
Constructors
-
BaseTask({required BaseCodec<
S, E, WireSyncType> codec, required TaskConstMeta constMeta, required List argValues, required BaseApiImpl<BaseWire> apiImpl}) -
Create a new task.
const
Properties
-
apiImpl
→ BaseApiImpl<
BaseWire> -
The Api class that creates the task.
final
-
argMap
→ Map<
String, dynamic> -
Arguments to be passed into the function call, provided in the format of a Map
no setter
- argValues → List
-
Arguments to be passed into the function call.
final
-
codec
→ BaseCodec<
S, E, WireSyncType> -
Parse the returned data from the underlying function
final
- constMeta → TaskConstMeta
-
Metadata that does not change across different method calls.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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