map<M> method

  1. @override
ObservableView<M> map<M>(
  1. M mapper(
    1. T
    )
)
override

Returns a new ObservableView which is created by lazily calling mapper on this view's value, stream, and changes properties.

Disposing of the mapped view doesn't affect this view in any way.

Implementation

@override
ObservableView<M> map<M>(M Function(T) mapper) =>
    _MappedView<T, M>(this, mapper);