TestRequiredOneof constructor
TestRequiredOneof({
- int? fooInt,
- String? fooString,
- TestRequiredOneof_NestedMessage? fooMessage,
Implementation
factory TestRequiredOneof({
$core.int? fooInt,
$core.String? fooString,
TestRequiredOneof_NestedMessage? fooMessage,
}) {
final _result = create();
if (fooInt != null) {
_result.fooInt = fooInt;
}
if (fooString != null) {
_result.fooString = fooString;
}
if (fooMessage != null) {
_result.fooMessage = fooMessage;
}
return _result;
}