APIAction class abstract
- Implementers
Constructors
Properties
- dispatcherKey → String
-
Identifies the origin of the action (example: "account_kit").
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFetching → bool
-
no setter
- method → String
-
no setter
- networkCompletionKey → String
-
no setter
- onError → dynamic Function(ApiError)?
-
no setter
- onSuccess → dynamic Function(Response)?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int
-
Time where the action is dispatched.
no setterinherited
Methods
-
apiCall(
NetworkState store) → Future< Response> -
decodeResponse(
Store store, Response data) → dynamic -
endpoint(
bool https, String apiEndpoint) → Uri -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setNetworkCompletionKey(
String networkCompletionKey) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited