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;
}