MappedValueNotifier<T, R> constructor

MappedValueNotifier<T, R>(
  1. ValueListenable<T> _notifier,
  2. R _mapper(
    1. T value
    )
)

Constructs a MappedValueNotifier with the given ValueListenable and mapper function.

Implementation

MappedValueNotifier(this._notifier, this._mapper);