Failure<T, E extends Error> class
Constructors
- Failure.new(E error)
Properties
- error → E
-
final
- failure → E
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- isFailure → bool
-
no setterinherited
- isSuccess → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → T
-
no setterinherited
Methods
-
map<
U> (U transform(T)) → Result< U, E> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override