streamLimited method

  1. @override
Stream<List<T>> streamLimited(
  1. int limit
)
override

Get up to the maximum number of documents specified by the limit

Refreshes automatically when new data is added/removed from the collection

Implementation

@override
Stream<List<T>> streamLimited(int limit) {
  return ref.limit(limit).snapshots().toListT();
}