snapshots abstract method

Stream<DocumentSnapshot<T>> snapshots({
  1. bool includeMetadataChanges = false,
  2. ListenSource source = ListenSource.defaultSource,
})

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

Stream<DocumentSnapshot<T>> snapshots({
  bool includeMetadataChanges = false,
  ListenSource source = ListenSource.defaultSource,
});