hasPendingWrites property

  1. @override
bool get hasPendingWrites
override

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

@override
bool get hasPendingWrites => false;