Skip to content

Commit 80b1393

Browse files
slightfootkroikie
authored andcommitted
Fix documentation that referenced Android classes to reference the dart mechanism instead. (#1256)
1 parent dc5fd29 commit 80b1393

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/cloud_firestore/lib/src/snapshot_metadata.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ class SnapshotMetadata {
1111
/// Whether the snapshot contains the result of local writes that have not yet
1212
/// been committed to the backend.
1313
///
14-
/// If your listener has opted into metadata updates (via
15-
/// [DocumentListenOptions] or [QueryListenOptions]) you will receive another
14+
/// If you called [DocumentReference.snapshots] or [Query.snapshots] with
15+
/// `includeMetadataChanges` parameter set to `true` you will receive another
1616
/// snapshot with `hasPendingWrites` equal to `false` once the writes have been
1717
/// committed to the backend.
1818
final bool hasPendingWrites;
1919

2020
/// Whether the snapshot was created from cached data rather than guaranteed
2121
/// up-to-date server data.
2222
///
23-
/// If your listener has opted into metadata updates (via
24-
/// [DocumentListenOptions] or [QueryListenOptions]) you will receive another
23+
/// If you called [DocumentReference.snapshots] or [Query.snapshots] with
24+
/// `includeMetadataChanges` parameter set to `true` you will receive another
2525
/// snapshot with `isFomCache` equal to `false` once the client has received
2626
/// up-to-date data from the backend.
2727
final bool isFromCache;

0 commit comments

Comments
 (0)