UninterpretedOption constructor

UninterpretedOption({
  1. Iterable<UninterpretedOption_NamePart>? name,
  2. String? identifierValue,
  3. Int64? positiveIntValue,
  4. Int64? negativeIntValue,
  5. double? doubleValue,
  6. List<int>? stringValue,
  7. String? aggregateValue,
})

Implementation

factory UninterpretedOption({
  $core.Iterable<UninterpretedOption_NamePart>? name,
  $core.String? identifierValue,
  $fixnum.Int64? positiveIntValue,
  $fixnum.Int64? negativeIntValue,
  $core.double? doubleValue,
  $core.List<$core.int>? stringValue,
  $core.String? aggregateValue,
}) {
  final $result = create();
  if (name != null) {
    $result.name.addAll(name);
  }
  if (identifierValue != null) {
    $result.identifierValue = identifierValue;
  }
  if (positiveIntValue != null) {
    $result.positiveIntValue = positiveIntValue;
  }
  if (negativeIntValue != null) {
    $result.negativeIntValue = negativeIntValue;
  }
  if (doubleValue != null) {
    $result.doubleValue = doubleValue;
  }
  if (stringValue != null) {
    $result.stringValue = stringValue;
  }
  if (aggregateValue != null) {
    $result.aggregateValue = aggregateValue;
  }
  return $result;
}