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