snapshots abstract method

Observable<Iterable<ReturnType>> snapshots({
  1. bool subscribe = true,
})

Returns an observable that emits the query results and updates whenever the query results change unless subscribe=false is provided.

Important: Make sure to unsubscribe from the observable when you are done with it.

Implementation

Observable<Iterable<ReturnType>> snapshots({bool subscribe = true});