bindAsyncMap<S> method
void
bindAsyncMap<S>(
- WidgetRef ref,
- ProviderListenable<
AsyncValue< provider, {S> > - required List<
T> map(- S v
Implementation
void bindAsyncMap<S>(
WidgetRef ref,
ProviderListenable<AsyncValue<S>> provider, {
required List<T> Function(S v) map,
}) {
handleAsyncValueMap(ref.read(provider), map);
ref.listen(
provider,
(_, next) => handleAsyncValueMap(next, map),
);
}