Action constructor

Action(
  1. Stream<Mutation> body(), {
  2. void onDone()?,
  3. List<Mutation>? onError(
    1. Object error
    )?,
  4. List<ActionId> waitFor = const [],
})

Implementation

Action(this.body, {this.onDone, this.onError, this.waitFor = const []});