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
const
factory
LoaderMessage.fetchSuccess(Content content)
Construct a message that represents a successful fetching
const
factory
LoaderMessage.refreshFailure(Object error, StackTrace stackTrace)
Construct a message that represents a failed refreshing
const
factory
LoaderMessage.refreshSuccess(Content content)
Construct a message that represents a successful refreshing
const
factory

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