- Inheritance
-
- Available extensions
Constructors
-
Error(E error)
-
const
Properties
-
error
→ E
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<TResult extends Object?>({required SuccessCallback<TResult, S, E> success, required ErrorCallback<TResult, S, E> error})
→ TResult
-
override
-
mapOrNull<TResult extends Object?>({NullableSuccessCallback<TResult, S, E>? success, NullableErrorCallback<TResult, S, E>? error})
→ TResult?
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required SuccessValueCallback<TResult, S> success, required ErrorValueCallback<TResult, E> error})
→ TResult
-
override