scope property

MutationScope? scope
final

Mutations in the same scope run one at a time — see MutationScope, which says what waits (the function, not onMutate) and for how long (until the running one's onSettled has completed). No default: unscoped mutations run concurrently.

Read when a run starts and fixed for that run: changing it through an observer's setOptions while the mutation is pending does not move the mutation to the new queue, nor release the old one early.

Implementation

final MutationScope? scope;