ErrorData<T> class
StatefulData indicating error state for underlying object holds error object or null
- Inheritance
-
- Object
- StatefulData<
T> - ErrorData
Constructors
- ErrorData.new({dynamic error})
-
const
Properties
- error → dynamic
-
Reason object for this error state
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unwrap(
) → T -
Returns success data or throws exception if value is not SuccessData
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited