MethodOptions constructor
MethodOptions({
- bool? deprecated,
- MethodOptions_IdempotencyLevel? idempotencyLevel,
- Iterable<
UninterpretedOption> ? uninterpretedOption,
Implementation
factory MethodOptions({
$core.bool? deprecated,
MethodOptions_IdempotencyLevel? idempotencyLevel,
$core.Iterable<UninterpretedOption>? uninterpretedOption,
}) {
final $result = create();
if (deprecated != null) {
$result.deprecated = deprecated;
}
if (idempotencyLevel != null) {
$result.idempotencyLevel = idempotencyLevel;
}
if (uninterpretedOption != null) {
$result.uninterpretedOption.addAll(uninterpretedOption);
}
return $result;
}