DataSource<PageKey, Value> class
abstract
Class that manages data loading.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notifier
→ PageManager<
PageKey, Value> -
The
PageManagerthat manages the data.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Add a listener to the
PageManager. -
dispose(
) → void -
Dispose the
PageManager. -
load(
LoadAction< PageKey> action) → Future<LoadResult< PageKey, Value> > - Load data according to LoadAction.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → Future< void> - Reload and then replace the data.
-
removeListener(
VoidCallback listener) → void -
Remove a listener from the
PageManager. -
toString(
) → String -
A string representation of this object.
inherited
-
update(
LoadType type) → Future< void> -
Run the load function according to the
LoadType.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited