BatchDispatchOutcome constructor
BatchDispatchOutcome({
- MessageId? targetEntity,
- Iterable<
DispatchOutcome> ? outcome, - 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;
}