map method

DataStateNotifier<T> map(
  1. T convert(
    1. T
    )
)

Maps all models of the list (if present) through convert

Implementation

DataStateNotifier<T> map(T Function(T) convert) {
  return _FunctionalDataStateNotifier<T, T>(this).map(convert);
}