NormalTask<S, E extends Object> class

A task to call FFI function.

Inheritance
Annotations
  • @immutable

Constructors

NormalTask({required void callFfi(NativePortType port), required S parseSuccessData(dynamic), required E parseErrorData(dynamic)?, required TaskConstMeta constMeta, required List argValues, required dynamic hint})
const

Properties

argMap Map<String, dynamic>
Arguments to be passed into the function call, provided in the format of a Map
read-onlyinherited
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
constMeta TaskConstMeta
Metadata that does not change across different method calls.
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
hint → dynamic
Transparent hint given by the caller of the method
finalinherited
parseErrorData → (E Function(dynamic)?)
Parse the returned error data from the underlying function
finalinherited
parseSuccessData → S Function(dynamic)
Parse the returned data from the underlying function
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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