FirestoreGateway class

Constructors

FirestoreGateway(String projectId, {String? databaseId, RequestAuthenticator? authenticator, Emulator? emulator})

Properties

database String
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

close() → void
createDocument(String path, String? documentId, Document document) Future<Document>
deleteDocument(String path) Future<void>
getCollection(String path, int pageSize, String nextPageToken) Future<Page<Document>>
getDocument(dynamic path) Future<Document>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runQuery(StructuredQuery structuredQuery, String fullPath) Future<List<Document>>
streamCollection(String path) Stream<List<Document>>
streamDocument(String path) Stream<Document?>
toString() String
A string representation of this object.
inherited
updateDocument(String path, Document document, bool update) Future<void>

Operators

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