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;
}