EnumOptions constructor
EnumOptions({
- bool? allowAlias,
- bool? deprecated,
- 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;
}