BatchDispatchOutcome constructor

BatchDispatchOutcome({
  1. MessageId? targetEntity,
  2. Iterable<DispatchOutcome>? outcome,
  3. bool? successful,
})

Implementation

factory BatchDispatchOutcome({
  $42.MessageId? targetEntity,
  $core.Iterable<DispatchOutcome>? outcome,
  $core.bool? successful,
}) {
  final _result = create();
  if (targetEntity != null) {
    _result.targetEntity = targetEntity;
  }
  if (outcome != null) {
    _result.outcome.addAll(outcome);
  }
  if (successful != null) {
    _result.successful = successful;
  }
  return _result;
}