EnumValueDescriptorProto constructor

EnumValueDescriptorProto({
  1. String? name,
  2. int? number,
  3. EnumValueOptions? options,
})

Implementation

factory EnumValueDescriptorProto({
  $core.String? name,
  $core.int? number,
  EnumValueOptions? options,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (number != null) {
    _result.number = number;
  }
  if (options != null) {
    _result.options = options;
  }
  return _result;
}