toList method

Observable<List<T>> toList([
  1. Map0<List<T>>? constructor
])

Returns a List from an observable sequence.

Implementation

Observable<List<T>> toList([Map0<List<T>>? constructor]) =>
    ToListObservable<T>(this, constructor ?? () => <T>[]);