TestOneof2 constructor

TestOneof2({
  1. TestOneof2_NestedEnum? fooEnum,
})

Implementation

factory TestOneof2({
  TestOneof2_NestedEnum? fooEnum,
}) {
  final _result = create();
  if (fooEnum != null) {
    _result.fooEnum = fooEnum;
  }
  return _result;
}