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