mapVar<V> method

RxVar<V> mapVar<V>({
  1. required V mapper(
    1. T value
    ),
  2. required T setter(
    1. T t,
    2. V v
    ),
})

Implementation

RxVar<V> mapVar<V>({
  required V Function(T value) mapper,
  required T Function(T t, V v) setter,
}) =>
    _MappedRxVar(
      rxVar: this,
      mapper: mapper,
      setter: setter,
    );