ExtensionRangeOptions constructor

ExtensionRangeOptions({
  1. Iterable<ExtensionRangeOptions_Declaration>? declaration,
  2. ExtensionRangeOptions_VerificationState? verification,
  3. FeatureSet? features,
  4. Iterable<UninterpretedOption>? uninterpretedOption,
})

Implementation

factory ExtensionRangeOptions({
  $core.Iterable<ExtensionRangeOptions_Declaration>? declaration,
  ExtensionRangeOptions_VerificationState? verification,
  FeatureSet? features,
  $core.Iterable<UninterpretedOption>? uninterpretedOption,
}) {
  final $result = create();
  if (declaration != null) {
    $result.declaration.addAll(declaration);
  }
  if (verification != null) {
    $result.verification = verification;
  }
  if (features != null) {
    $result.features = features;
  }
  if (uninterpretedOption != null) {
    $result.uninterpretedOption.addAll(uninterpretedOption);
  }
  return $result;
}