handleAsyncValueMap<S> method
Implementation
void handleAsyncValueMap<S>(AsyncValue<S> next, List<T> Function(S) map) {
next.when(
data: (s) => updateItems(map(s)),
error: updateError,
loading: updateLoading,
);
}
void handleAsyncValueMap<S>(AsyncValue<S> next, List<T> Function(S) map) {
next.when(
data: (s) => updateItems(map(s)),
error: updateError,
loading: updateLoading,
);
}