pendingWriteCount method

Future<int> pendingWriteCount()

Returns the number of write batches of the signed-in user that the backend has not acknowledged or rejected yet.

The same as getPendingWriteCount, under a name without the get prefix; see there for what counts as a batch.

final int pending = await firestore.pendingWriteCount();

Implementation

Future<int> pendingWriteCount() {
  return client.getPendingWriteCount();
}