RealtimeCacheManager class
Constructors
- RealtimeCacheManager({RealtimeStorageAdapter? storageAdapter, RealtimeCachePolicy? cachePolicy})
Properties
- cachePolicy → RealtimeCachePolicy
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageAdapter → RealtimeStorageAdapter
-
no setter
Methods
-
allDocuments(
String collection) → List< JsonMap> -
clear(
) → void -
getDocument(
String collection, String id) → JsonMap? -
hydrateCollection(
String collection) → Future< void> -
matchingDocuments(
String collection, JsonMap filter) → List< JsonMap> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
releaseQuery(
String queryId) → void -
removeDocument(
String collection, String id) → void -
retainQuerySnapshot(
String queryId, {required String collection, required Iterable< JsonMap> documents}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited