Action.single constructor
Action.single(})
Quickly creates and executes a single mutatiton
Implementation
factory Action.single(Store store, dynamic type,
{void Function()? onDone,
List<Mutation>? Function(Object error)? onError,
List<ActionId> waitFor = const []}) {
return Action(() async* {
yield Mutation(store, type);
}, onDone: onDone, onError: onError, waitFor: waitFor);
}