Loader class abstract
The base class for collection loaders.
- Implementers
Constructors
- Loader.new({ErrorCallback? onError})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- states → Stream
-
no setter
- status → LoadStatus
-
no setter
Methods
-
clear(
{bool shouldNotifyListeners = true}) → Future< void> - Clears the local state and makes this loader reload the data when asked for.
-
clearItems(
) → Future< void> -
loadAll(
) → Future< void> -
loadAllIfCan(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
Object error, StackTrace trace) → void -
retryAll(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited