TestRequiredOneof constructor

TestRequiredOneof({
  1. int? fooInt,
  2. String? fooString,
  3. 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;
}