EnumValueOptions constructor

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

Implementation

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