hasPendingWrites property

bool get hasPendingWrites

Whether the snapshot contains the result of local writes that have not yet been committed to the backend.

If you called DocumentReference.snapshots or Query.snapshots with includeMetadataChanges parameter set to true you will receive another snapshot with hasPendingWrites equal to false once the writes have been committed to the backend.

Implementation

bool get hasPendingWrites => _delegate.hasPendingWrites;