FutureSucceededAction<A, P> class
An action class which is created by the Middleware for signalling that the current state of Future is completed and is successful, this class contains the result of Future in payload property.
Constructors
-
FutureSucceededAction(P payload, {Map<
String, dynamic> extras = const {}})
Properties
-
extras
↔ Map<
String, dynamic> -
A property containing the extras passed by FutureAction.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- payload ↔ P
-
Property containing the result of Future after successful
completion.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> - This function is used to convert the action into FSA format This is useful for interoperability between different redux modules
-
toString(
) → String -
This function can be used in debugging to identify the
action dispatched, especially in case of multiple actions
dispatched, if needed.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited