FirestoreClient class

Annotations
  • @GrpcServiceName('google.firestore.v1.Firestore')

Constructors

FirestoreClient(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R>
inherited
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R>
inherited
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R>
inherited
batchGetDocuments(BatchGetDocumentsRequest request, {CallOptions? options}) → ResponseStream<BatchGetDocumentsResponse>
batchWrite(BatchWriteRequest request, {CallOptions? options}) → ResponseFuture<BatchWriteResponse>
beginTransaction(BeginTransactionRequest request, {CallOptions? options}) → ResponseFuture<BeginTransactionResponse>
commit(CommitRequest request, {CallOptions? options}) → ResponseFuture<CommitResponse>
createDocument(CreateDocumentRequest request, {CallOptions? options}) → ResponseFuture<Document>
deleteDocument(DeleteDocumentRequest request, {CallOptions? options}) → ResponseFuture<Empty>
getDocument(GetDocumentRequest request, {CallOptions? options}) → ResponseFuture<Document>
listCollectionIds(ListCollectionIdsRequest request, {CallOptions? options}) → ResponseFuture<ListCollectionIdsResponse>
listDocuments(ListDocumentsRequest request, {CallOptions? options}) → ResponseFuture<ListDocumentsResponse>
listen(Stream<ListenRequest> request, {CallOptions? options}) → ResponseStream<ListenResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
partitionQuery(PartitionQueryRequest request, {CallOptions? options}) → ResponseFuture<PartitionQueryResponse>
rollback(RollbackRequest request, {CallOptions? options}) → ResponseFuture<Empty>
runAggregationQuery(RunAggregationQueryRequest request, {CallOptions? options}) → ResponseStream<RunAggregationQueryResponse>
runQuery(RunQueryRequest request, {CallOptions? options}) → ResponseStream<RunQueryResponse>
toString() String
A string representation of this object.
inherited
updateDocument(UpdateDocumentRequest request, {CallOptions? options}) → ResponseFuture<Document>
write(Stream<WriteRequest> request, {CallOptions? options}) → ResponseStream<WriteResponse>

Operators

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