ServiceOptions constructor

ServiceOptions({
  1. bool? deprecated,
  2. Iterable<UninterpretedOption>? uninterpretedOption,
})

Implementation

factory ServiceOptions({
  $core.bool? deprecated,
  $core.Iterable<UninterpretedOption>? uninterpretedOption,
}) {
  final $result = create();
  if (deprecated != null) {
    $result.deprecated = deprecated;
  }
  if (uninterpretedOption != null) {
    $result.uninterpretedOption.addAll(uninterpretedOption);
  }
  return $result;
}