map<N> method
Implementation
@override
ResourceState<K, N> map<N>(N Function(V value) callback) =>
ResourceState._raw(
key,
hasValue ? callback(value as V) : null,
error,
isLoading: isLoading,
source: hasValue ? source : null,
);