streamSnapshot method

Stream streamSnapshot({
  1. required String path,
})

Streams snapshot from the specified path and returns it as a Stream.

path - The path to the data.

Implementation

Stream streamSnapshot({
  required String path,
}) {
  return _fireStore.collection(path).snapshots();
}