mutate<R> method
Call<R, AsyncValue<T> >
mutate<R>(
- MutationToken<
R> token, - Future<
R> body(- Ref<
AsyncValue< refT> >
- Ref<
- Concurrency concurrency = Concurrency.concurrent,
Implementation
Call<R, AsyncValue<T>> mutate<R>(
MutationToken<R> token,
Future<R> Function(Ref<AsyncValue<T>> ref) body, {
Concurrency concurrency = Concurrency.concurrent,
}) => _MutateCall<R, AsyncValue<T>>(
this,
token,
body,
concurrency: concurrency,
ensureOwner: (container) => container.read<AsyncValue<T>>(this),
);