snapshots method
Stream<DocumentSnapshot<Map<String, dynamic> > >
snapshots({
- bool includeMetadataChanges = false,
override
Notifies of document updates at this location.
An initial event is immediately sent, and further events will be sent whenever the document is modified.
Implementation
@override
Stream<DocumentSnapshot<Map<String, dynamic>>> snapshots({
bool includeMetadataChanges = false,
}) =>
_snapshots == null
? throw UnimplementedError(
'You must supply snapshots to the constructor of '
'DocumentReferenceFake')
: _snapshots!;