map<S> method

  1. @override
Observable<S> map <S>(S convert(T event))

Maps values from a source sequence through a function and emits the returned values.

The returned sequence completes when the source sequence completes. The returned sequence throws an error if the source sequence throws an error.

Implementation

@override
Observable<S> map<S>(S convert(T event)) =>
    Observable<S>(_stream.map(convert));