FutureFailedAction<A> class
An action class which is created by the Middleware for signalling that the current state of Future is completed and is unsuccessful, this class contains the error by Future in error property.
Constructors
-
FutureFailedAction({Map<
String, dynamic> extras = const {}, dynamic error})
Properties
- error ↔ dynamic
-
Property containing the error by Future after unsuccessful
completion.
getter/setter pair
-
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
- 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