streamOrdered method

  1. @override
Stream<List<T>> streamOrdered(
  1. List<OrderBy> orderBy
)
override

Get a list of all documents from the collection sorted by orderBy

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

throws a MissingValueException when no orderBys are given

Implementation

@override
Stream<List<T>> streamOrdered(List<OrderBy> orderBy) {
  return ref.sort(orderBy).snapshots().toListT();
}