FirebaseDbCache class

FirebaseDbCache is a Flutter plugin for fetching Firebase database data with read from cache first then server.

Constructors

FirebaseDbCache([DataCacheManager? manager])
Create a new instance of FirebaseDbCache.

Properties

hashCode int
The hash code for this object.
no setterinherited
manager → DataCacheManager
The cache manager.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(Query query, {DateTime? updatedAt, bool removeSameKeyData = false}) Future<CachedData?>
Get the query data.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited