loadCacheOnly<T extends Document<T> > method
Implementation
@override
Future<T?> loadCacheOnly<T extends Document<T>>(Document<T> document) async {
try {
final cache = await _load<T>(document, Source.cache);
if (cache != null) {
return cache as T;
}
} on Exception catch (_) {
// nothing
}
return null;
}