TestRequiredMessage constructor
TestRequiredMessage({
- TestRequired? optionalMessage,
- Iterable<
TestRequired> ? repeatedMessage, - TestRequired? requiredMessage,
Implementation
factory TestRequiredMessage({
TestRequired? optionalMessage,
$core.Iterable<TestRequired>? repeatedMessage,
TestRequired? requiredMessage,
}) {
final _result = create();
if (optionalMessage != null) {
_result.optionalMessage = optionalMessage;
}
if (repeatedMessage != null) {
_result.repeatedMessage.addAll(repeatedMessage);
}
if (requiredMessage != null) {
_result.requiredMessage = requiredMessage;
}
return _result;
}