hasPendingWrites property

bool hasPendingWrites
final

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

If you called DocumentReferencePlatform.snapshots or QueryPlatform.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

final bool hasPendingWrites;