TestVerifyMostlyInt32 constructor
TestVerifyMostlyInt32({
- int? optionalInt321,
- int? optionalInt322,
- int? optionalInt323,
- int? optionalInt324,
- TestAllTypes? optionalAllTypes,
- Iterable<
TestAllTypes> ? repeatedAllTypes, - Int64? optionalInt6430,
- int? optionalInt3263,
- int? optionalInt3264,
Implementation
factory TestVerifyMostlyInt32({
$core.int? optionalInt321,
$core.int? optionalInt322,
$core.int? optionalInt323,
$core.int? optionalInt324,
TestAllTypes? optionalAllTypes,
$core.Iterable<TestAllTypes>? repeatedAllTypes,
$fixnum.Int64? optionalInt6430,
$core.int? optionalInt3263,
$core.int? optionalInt3264,
}) {
final _result = create();
if (optionalInt321 != null) {
_result.optionalInt321 = optionalInt321;
}
if (optionalInt322 != null) {
_result.optionalInt322 = optionalInt322;
}
if (optionalInt323 != null) {
_result.optionalInt323 = optionalInt323;
}
if (optionalInt324 != null) {
_result.optionalInt324 = optionalInt324;
}
if (optionalAllTypes != null) {
_result.optionalAllTypes = optionalAllTypes;
}
if (repeatedAllTypes != null) {
_result.repeatedAllTypes.addAll(repeatedAllTypes);
}
if (optionalInt6430 != null) {
_result.optionalInt6430 = optionalInt6430;
}
if (optionalInt3263 != null) {
_result.optionalInt3263 = optionalInt3263;
}
if (optionalInt3264 != null) {
_result.optionalInt3264 = optionalInt3264;
}
return _result;
}