EnumOptions constructor

EnumOptions({
  1. bool? allowAlias,
  2. bool? deprecated,
  3. Iterable<UninterpretedOption>? uninterpretedOption,
})

Implementation

factory EnumOptions({
  $core.bool? allowAlias,
  $core.bool? deprecated,
  $core.Iterable<UninterpretedOption>? uninterpretedOption,
}) {
  final $result = create();
  if (allowAlias != null) {
    $result.allowAlias = allowAlias;
  }
  if (deprecated != null) {
    $result.deprecated = deprecated;
  }
  if (uninterpretedOption != null) {
    $result.uninterpretedOption.addAll(uninterpretedOption);
  }
  return $result;
}