ServiceOptions constructor

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

Implementation

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