RestDelegate class
Methods
-
addDocument<ID extends Object?, T extends Object?>(String collectionPath, T data, [ID? documentId])
→ Future<DocumentSnapshot<ID, T>?>
-
creates a new document
override
-
deleteDocument<ID extends Object?>(String collectionPath, ID documentId)
→ Future<void>
-
deletes the document
override
-
documentSnapshots<ID extends Object?, T extends Object?>(String collectionPath, ID documentId)
→ Stream<DocumentSnapshot<ID, T>>
-
Notifies of document updates at this location.
override
-
getDocument<ID extends Object?, T extends Object?>(String collectionPath, ID documentId)
→ Future<DocumentSnapshot<ID, T>>
-
Reads the document
override
-
getQuery<ID extends Object?, T extends Object?>(Query<ID, T> query)
→ Future<QuerySnapshot<ID, T>>
-
Reads the document
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
performOperation(Operation operation)
→ Future
-
inherited
-
performTransaction(Transaction transaction, [dynamic doOperationsInParallel = false])
→ Future
-
inherited
-
querySnapshots<ID extends Object?, T extends Object?>(Query<ID, T> query)
→ Stream<QuerySnapshot<ID, T>>
-
Notifies of document updates at this location.
override
-
setDocument<ID extends Object?, T extends Object?>(String collectionPath, ID documentId, T data)
→ Future<void>
-
Sets data on the document, overwriting any existing data. If the document
does not yet exist, it will be created.
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateDocument<ID extends Object?>(String collectionPath, ID documentId, Map<String, Object?> data)
→ Future<void>
-
Updates data on the document. Data will be merged with any existing
document data.
override