EnumValue constructor
Implementation
factory EnumValue({
$core.String? name,
$core.int? number,
$core.Iterable<Option>? options,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (number != null) {
$result.number = number;
}
if (options != null) {
$result.options.addAll(options);
}
return $result;
}