NimbostratusDocumentSnapshot<T> constructor
NimbostratusDocumentSnapshot<T> ({
- required T? value,
- required Stream<
NimbostratusDocumentSnapshot< stream,T?> > - required DocumentReference<
T> reference, - bool isOptimistic = false,
- SnapshotMetadata? metadata,
Implementation
NimbostratusDocumentSnapshot({
required this.value,
required this.stream,
required this.reference,
this.isOptimistic = false,
SnapshotMetadata? metadata,
}) : id = reference.id,
metadata = metadata ?? CacheSnapshotMetadata();