copyWithWrapped method
Implementation
ShopifySharpFulfillmentOriginAddress copyWithWrapped({
Wrapped<String?>? address1,
Wrapped<String?>? address2,
Wrapped<String?>? city,
Wrapped<String?>? countryCode,
Wrapped<String?>? provinceCode,
Wrapped<String?>? zip,
}) {
return ShopifySharpFulfillmentOriginAddress(
address1: (address1 != null ? address1.value : this.address1),
address2: (address2 != null ? address2.value : this.address2),
city: (city != null ? city.value : this.city),
countryCode: (countryCode != null ? countryCode.value : this.countryCode),
provinceCode: (provinceCode != null
? provinceCode.value
: this.provinceCode),
zip: (zip != null ? zip.value : this.zip),
);
}