list method
Lists the available data for this store. If subsequent calls are made, they will resolve to the same future.
Implementation
FutureOr<List<Record<V>>> list({
/// Whether to force data to load, even if it's already been fetched. If you want to nuke all the data and refetch,
/// you need to call [clear], followed by [list]
bool? forceRefresh,
double? offset,
double? limit,
}) {
final nextLoad = _reloadCompletions.stream.first;
if (forceRefresh == true || !_values.isFirstResolved) {
log.info("$type fetch started");
_reloadRequests.add(true);
return nextLoad.then((_) {
return _;
});
}
return values;
}