copyWith method

ShopifySharpFulfillmentOriginAddress copyWith({
  1. String? address1,
  2. String? address2,
  3. String? city,
  4. String? countryCode,
  5. String? provinceCode,
  6. String? zip,
})

Implementation

ShopifySharpFulfillmentOriginAddress copyWith({
  String? address1,
  String? address2,
  String? city,
  String? countryCode,
  String? provinceCode,
  String? zip,
}) {
  return ShopifySharpFulfillmentOriginAddress(
    address1: address1 ?? this.address1,
    address2: address2 ?? this.address2,
    city: city ?? this.city,
    countryCode: countryCode ?? this.countryCode,
    provinceCode: provinceCode ?? this.provinceCode,
    zip: zip ?? this.zip,
  );
}