PostAction class
- Inheritance
-
- Object
- RequestAction
- PostAction
Constructors
- PostAction(String path, Object body, {String? json, String url = ""})
Properties
-
finalinherited
- body → Object
-
final
- dispatcherKey → String
-
Identifies the origin of the action (example: "account_kit").
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFetching → bool
-
finalinherited
- json → String?
-
final
- method → String
-
finalinherited
- networkCompletionKey ↔ String
-
getter/setter pairinherited
- onError ↔ dynamic Function(ApiError)?
-
getter/setter pairinherited
- onSuccess ↔ dynamic Function(Response)?
-
getter/setter pairinherited
- path ↔ String
-
getter/setter pairinherited
-
queryParams
↔ Map<
String, String> ? -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int
-
Time where the action is dispatched.
finalinherited
- url → String
-
final
Methods
-
apiCall(
NetworkState state) → Future< Response> -
override
-
decodeResponse(
Store store, Response data) → dynamic -
inherited
-
endpoint(
bool https, String apiEndpoint) → Uri -
inherited
-
headers(
NetworkState store) → Map< String, String> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setNetworkCompletionKey(
String networkCompletionKey) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object a) → bool -
The equality operator.
inherited