NormalTask<S, E extends Object> class

A task to call FFI function.

Normally you do not manually create instances of this task (or its brothers), but instead it is generated automatically by the codegen.

Annotations

Constructors

NormalTask({required void callFfi(NativePortType port), required BaseCodec<S, E, dynamic> 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.
finalinherited
argMap Map<String, dynamic>
Arguments to be passed into the function call, provided in the format of a Map
no setterinherited
argValues List
Arguments to be passed into the function call.
finalinherited
callFfi → void Function(NativePortType port)
The underlying function to call FFI function, usually the generated wire function
final
codec → BaseCodec<S, E, dynamic>
Parse the returned data from the underlying function
finalinherited
constMeta → TaskConstMeta
Metadata that does not change across different method calls.
finalinherited
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