toObservable method

Observable<T> toObservable({
  1. Scheduler? scheduler,
})

Returns an Observable that emits the elements of this Iterable.

Implementation

Observable<T> toObservable({Scheduler? scheduler}) =>
    IterableObservable<T>(this, scheduler ?? defaultScheduler);