Address constructor
Address({
- StringValue? companyName,
- StringValue? street,
- StringValue? street2,
- StringValue? city,
- StringValue? zip,
- StringValue? firstName,
- StringValue? lastName,
- StringValue? countryCodeIso2Letter,
- StringValue? cO,
- StringValue? misc,
- StringValue? instructions,
- GeoLocation? location,
Implementation
factory Address({
$0.StringValue? companyName,
$0.StringValue? street,
$0.StringValue? street2,
$0.StringValue? city,
$0.StringValue? zip,
$0.StringValue? firstName,
$0.StringValue? lastName,
$0.StringValue? countryCodeIso2Letter,
$0.StringValue? cO,
$0.StringValue? misc,
$0.StringValue? instructions,
$1.GeoLocation? location,
}) {
final result = create();
if (companyName != null) result.companyName = companyName;
if (street != null) result.street = street;
if (street2 != null) result.street2 = street2;
if (city != null) result.city = city;
if (zip != null) result.zip = zip;
if (firstName != null) result.firstName = firstName;
if (lastName != null) result.lastName = lastName;
if (countryCodeIso2Letter != null)
result.countryCodeIso2Letter = countryCodeIso2Letter;
if (cO != null) result.cO = cO;
if (misc != null) result.misc = misc;
if (instructions != null) result.instructions = instructions;
if (location != null) result.location = location;
return result;
}