EndlessFetcher<T> class Null safety

Endless fetcher.

Constructors

EndlessFetcher({Future<List<T>?> fetchForIndex(int index)?, VoidCallback? onFetch})

Properties

fetchForIndex ↔ (Future<List<T>?> Function(int index)?)
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