TestRequiredForeign constructor

TestRequiredForeign({
  1. TestRequired? optionalMessage,
  2. Iterable<TestRequired>? repeatedMessage,
  3. int? dummy,
})

Implementation

factory TestRequiredForeign({
  TestRequired? optionalMessage,
  $core.Iterable<TestRequired>? repeatedMessage,
  $core.int? dummy,
}) {
  final _result = create();
  if (optionalMessage != null) {
    _result.optionalMessage = optionalMessage;
  }
  if (repeatedMessage != null) {
    _result.repeatedMessage.addAll(repeatedMessage);
  }
  if (dummy != null) {
    _result.dummy = dummy;
  }
  return _result;
}