File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/cloud_firestore/lib/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ class SnapshotMetadata {
11
11
/// Whether the snapshot contains the result of local writes that have not yet
12
12
/// been committed to the backend.
13
13
///
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
16
16
/// snapshot with `hasPendingWrites` equal to `false` once the writes have been
17
17
/// committed to the backend.
18
18
final bool hasPendingWrites;
19
19
20
20
/// Whether the snapshot was created from cached data rather than guaranteed
21
21
/// up-to-date server data.
22
22
///
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
25
25
/// snapshot with `isFomCache` equal to `false` once the client has received
26
26
/// up-to-date data from the backend.
27
27
final bool isFromCache;
You can’t perform that action at this time.
0 commit comments