TestCamelCaseFieldNames constructor
TestCamelCaseFieldNames({
- int? primitiveField,
- String? stringField,
- ForeignEnum? enumField,
- ForeignMessage? messageField,
- String? stringPieceField,
- String? cordField,
- Iterable<
int> ? repeatedPrimitiveField, - Iterable<
String> ? repeatedStringField, - Iterable<
ForeignEnum> ? repeatedEnumField, - Iterable<
ForeignMessage> ? repeatedMessageField, - Iterable<
String> ? repeatedStringPieceField, - Iterable<
String> ? repeatedCordField,
Implementation
factory TestCamelCaseFieldNames({
$core.int? primitiveField,
$core.String? stringField,
ForeignEnum? enumField,
ForeignMessage? messageField,
$core.String? stringPieceField,
$core.String? cordField,
$core.Iterable<$core.int>? repeatedPrimitiveField,
$core.Iterable<$core.String>? repeatedStringField,
$core.Iterable<ForeignEnum>? repeatedEnumField,
$core.Iterable<ForeignMessage>? repeatedMessageField,
$core.Iterable<$core.String>? repeatedStringPieceField,
$core.Iterable<$core.String>? repeatedCordField,
}) {
final _result = create();
if (primitiveField != null) {
_result.primitiveField = primitiveField;
}
if (stringField != null) {
_result.stringField = stringField;
}
if (enumField != null) {
_result.enumField = enumField;
}
if (messageField != null) {
_result.messageField = messageField;
}
if (stringPieceField != null) {
_result.stringPieceField = stringPieceField;
}
if (cordField != null) {
_result.cordField = cordField;
}
if (repeatedPrimitiveField != null) {
_result.repeatedPrimitiveField.addAll(repeatedPrimitiveField);
}
if (repeatedStringField != null) {
_result.repeatedStringField.addAll(repeatedStringField);
}
if (repeatedEnumField != null) {
_result.repeatedEnumField.addAll(repeatedEnumField);
}
if (repeatedMessageField != null) {
_result.repeatedMessageField.addAll(repeatedMessageField);
}
if (repeatedStringPieceField != null) {
_result.repeatedStringPieceField.addAll(repeatedStringPieceField);
}
if (repeatedCordField != null) {
_result.repeatedCordField.addAll(repeatedCordField);
}
return _result;
}