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;
}