FromError<T> class final

Destinations available through an ErrorOperation reference.

Properties

hashCode → int
The hash code for this object.
no setterinherited
idle → IdleOperation<T> Function({T? data})
Creates an idle state, preserving cached data when omitted. Passing data: null clears the cached data.
no setterinherited
loading → LoadingOperation<T> Function({T? data})
Creates a loading state, preserving cached data when omitted. Passing data: null clears the cached data.
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
success({required T data, String? message}) → SuccessOperation<T>
Creates a success state with an explicit result satisfying T. The optional message belongs to the new state.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited