FirebaseFirestoreDatabase class

Inheritance
  • Object
  • FirestoreDatabase
  • FirebaseFirestoreDatabase

Properties

debugLogging bool
getter/setter pairinherited
debugPooling bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
injectionTimeout Duration
getter/setter pairinherited
pool → StreamPool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamLoopbackInjection bool
getter/setter pairinherited
streamPooling bool
getter/setter pairinherited
throwOnGet bool
getter/setter pairinherited

Methods

collection(String path) → CollectionReference
inherited
countDocumentsInCollection(CollectionReference reference) Future<int>
override
deleteDocument(DocumentReference path) Future<void>
override
document(String path) → DocumentReference
inherited
getDocument(DocumentReference ref) Future<DocumentSnapshot>
override
getDocumentCachedOnly(DocumentReference ref) Future<DocumentSnapshot>
inherited
getDocumentsInCollection(CollectionReference reference) Future<List<DocumentSnapshot>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDocument(DocumentReference ref, DocumentData data) Future<void>
override
setDocumentAtomic(DocumentReference ref, DocumentData txn(DocumentData? data)) Future<void>
override
streamDocument(DocumentReference ref) Stream<DocumentSnapshot>
override
streamDocumentsInCollection(CollectionReference reference) Stream<List<DocumentSnapshot>>
override
toString() String
A string representation of this object.
inherited
updateDocument(DocumentReference ref, DocumentData data) Future<void>
override
updateDocumentAtomic(DocumentReference ref, Map<String, dynamic> txn(DocumentData? data)) Future<void>
inherited

Operators

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

Static Methods

create() → FirestoreDatabase