EndlessFetcher<T> class
Null safety
Endless fetcher.
Constructors
-
EndlessFetcher({Future<
List< fetchForIndex(int index)?, VoidCallback? onFetch})T> ?>
Properties
-
fetchForIndex
↔ (Future<
List< Function(int index)?)T> ?> -
Fetches for index.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- onFetch ↔ VoidCallback?
-
On fetch complete.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
clear(
) → void - Clear.
-
fetch(
) → Future< void> - Fetch.
-
getUnits(
) → List< T> - Gets collection.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited