Failure<T> class
Constructors
- Failure(Error error, {T? data})
- Failure.fromMessage(String errorMessage, {T? data})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
{required dynamic onSuccess(T data), dynamic onLoading(T? data)?, dynamic onFailure(Error error)?}) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited