TestOneof2 constructor

TestOneof2({
  1. TestOneof2_NestedEnum? fooEnum,
})

Implementation

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