EventCausedCommands constructor

EventCausedCommands({
  1. EventId? id,
  2. Iterable<CommandId>? produced,
})

Implementation

factory EventCausedCommands({
  $46.EventId? id,
  $core.Iterable<$43.CommandId>? produced,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (produced != null) {
    _result.produced.addAll(produced);
  }
  return _result;
}