TestGroup constructor

TestGroup({
  1. TestGroup_OptionalGroup? optionalGroup,
  2. ForeignEnum? optionalForeignEnum,
})

Implementation

factory TestGroup({
  TestGroup_OptionalGroup? optionalGroup,
  ForeignEnum? optionalForeignEnum,
}) {
  final _result = create();
  if (optionalGroup != null) {
    _result.optionalGroup = optionalGroup;
  }
  if (optionalForeignEnum != null) {
    _result.optionalForeignEnum = optionalForeignEnum;
  }
  return _result;
}