defaultIfEmpty method

Observable<T> defaultIfEmpty (
  1. [T value]
)

Emits a given value if this Observable completes without emitting any value, otherwise mirrors the source.

Implementation

Observable<T> defaultIfEmpty([T value]) =>
    DefaultIfEmptyObservable<T>(this, value);