DefaultIfEmptyOperator<T> extension Null safety

on

Methods

defaultIfEmpty(T value) Observable<T>
Emits a given value if this Observable completes without emitting any value, otherwise mirrors the source.