documentChanges abstract method

  1. @override
AsyncListenStream<DocumentChange> documentChanges(
  1. String id
)
override

Returns a Stream to be notified of changes to the Document with the given id.

This is an alternative stream based API for the addDocumentChangeListener API.

AsyncListenStream

If the stream is missing changes, check if the returned stream is an AsyncListenStream. This type of stream needs to perform some async work to be fully listening. You can wait for that moment by awaiting AsyncListenStream.listening.

Implementation

@override
AsyncListenStream<DocumentChange> documentChanges(String id);