getStream<T extends YustDoc> method
Returns a stream of a YustDoc.
Whenever another user makes a change, a new version of the document is returned.
Implementation
@override
Stream<T?> getStream<T extends YustDoc>(
YustDocSetup<T> docSetup,
String id,
) {
return Stream.fromFuture(getFromDB<T>(docSetup, id));
}