LoaderMessage<Content> class
abstract
Class that represents a message event
- Annotations
Constructors
- LoaderMessage.fetchFailure(Object error, StackTrace stackTrace)
-
Construct a message that represents a failed fetching
constfactory
- LoaderMessage.fetchSuccess(Content content)
-
Construct a message that represents a successful fetching
constfactory
- LoaderMessage.refreshFailure(Object error, StackTrace stackTrace)
-
Construct a message that represents a failed refreshing
constfactory
- LoaderMessage.refreshSuccess(Content content)
-
Construct a message that represents a successful refreshing
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fold<
R> ({required R onFetchFailure(Object error, StackTrace stackTrace), required R onFetchSuccess(Content data), required R onRefreshFailure(Object error, StackTrace stackTrace), required R onRefreshSuccess(Content data)}) → R - Fold all cases into single value
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited