SwitchMapOperator<T> extension Null safety

on

Methods

switchMap<R>(Map1<T, Observable<R>> project) Observable<R>
Emits values from the most recent higher-order Observable retrieved by projecting the values of the source to higher-order Observables.
switchMapTo<R>(Observable<R> observable) Observable<R>
Emits all values from the most recent higher-order observable.