map method

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

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

Implementation

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