empty function

Observable<Never> empty({
  1. Scheduler? scheduler,
})

An Observable that emits no items and immediately completes.

Implementation

Observable<Never> empty({Scheduler? scheduler}) =>
    EmptyObservable(scheduler ?? const ImmediateScheduler());