FirestoreViewModel class

Implementers

Constructors

FirestoreViewModel()

Properties

collections Map<String, FirestoreCollectionManager<Object>>
final
documents Map<String, FirestoreDocumentManager<Object>>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activePagesCollection<T extends Object<T>>({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?}) List<int>
activePagesCollectionGroup<T extends Object<T>>({required Query<Object?> reference, Query<Object?> query(Query<Object?>)?}) List<int>
cancelAll() Future<void>
cancelCollection({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?}) Future<void>
cancelCollectionGroup({required Query<Object?> reference, Query<Object?> query(Query<Object?>)?}) Future<void>
cancelDocument({required DocumentReference<Object?> reference}) Future<void>
getCollection<T extends Object<T>>({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?}) Future<List<T>>
getCollectionGroup<T extends Object<T>>({required Query<Map<String, dynamic>> reference, Query<Object?> query(Query<Map<String, dynamic>>)?}) Future<List<T>>
getDocument<T extends Object<T>>(DocumentReference<Object?> reference) Future<T?>
listenCollection<T extends Object<T>>({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?, Future callback(List<T>, int, bool)?, Future deletionCallback(List<T>, int)?, Future emptyCallback(int)?}) → void
listenCollectionGroup<T extends Object<T>>({required Query<Map<String, dynamic>> reference, Query<Object?> query(Query<Map<String, dynamic>>)?, Future callback(List<T>, int, bool)?, Future deletionCallback(List<T>, int)?, Future emptyCallback(int)?}) → void
listenDocument<T extends Object<T>>({required DocumentReference<Object?> reference, Future callback(T)?, Future notExistCallback()?}) → void
nextCollectionGroupPage<T extends Object<T>>({required Query<Object?> reference, Query<Object?> query(Query<Object?>)?, required dynamic noMore()}) Future<void>
nextCollectionPage<T extends Object<T>>({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?, required dynamic noMore()}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseAll() → void
pauseCollection({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?}) → void
pauseCollectionGroup({required Query<Object?> reference, Query<Object?> query(Query<Object?>)?}) → void
pauseDocument({required DocumentReference<Object?> reference}) → void
previousCollectionGroupPage<T extends Object<T>>({required Query<Object?> reference, Query<Object?> query(Query<Object?>)?}) Future<void>
previousCollectionPage<T extends Object<T>>({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?}) Future<void>
resumeAll() → void
resumeCollection({required CollectionReference<Object?> reference, Query<Object?> query(CollectionReference<Object?>)?}) → void
resumeCollectionGroup({required Query<Object?> reference, Query<Object?> query(Query<Object?>)?}) → void
resumeDocument({required DocumentReference<Object?> reference}) → void
toString() String
A string representation of this object.
inherited

Operators

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