AggregateCommandType constructor

const AggregateCommandType(
  1. Type aggregate,
  2. Type event, {
  3. Type? data,
  4. ExpectedState expected = ExpectedState.any,
})

Implementation

const AggregateCommandType(
  this.aggregate,
  this.event, {
  this.data,
  this.expected = ExpectedState.any,
});