map<M> method
Implementation
RxState<M> map<M>(M Function(T) mapper) {
return RxState<M>(value != null ? mapper(value as T) : null)
.addStream(stream.map(mapper));
}
RxState<M> map<M>(M Function(T) mapper) {
return RxState<M>(value != null ? mapper(value as T) : null)
.addStream(stream.map(mapper));
}