cache method
OffsetIterator<T>
cache({})
Implementation
OffsetIterator<T> cache({
required String key,
required Map<String, dynamic> cache,
bool Function(T prev, T next)? equals,
SeedCallback<T>? fallbackSeed,
int retention = 0,
String name = 'cache',
bool? cancelOnError,
bool bubbleCancellation = true,
}) =>
persist(
cache: cache,
storage: NullStorage(),
key: key,
fromJson: (val) => null as T,
toJson: (p0) => null,
fallbackSeed: fallbackSeed,
retention: retention,
name: name,
equals: equals,
cancelOnError: cancelOnError,
bubbleCancellation: bubbleCancellation,
);