copyWith method
ShopifySharpAddress
copyWith({
- String? address1,
- String? address2,
- String? city,
- String? company,
- String? country,
- String? countryCode,
- String? countryName,
- bool? $default,
- String? firstName,
- String? lastName,
- double? latitude,
- double? longitude,
- String? name,
- String? phone,
- String? province,
- String? provinceCode,
- String? zip,
- int? id,
- String? adminGraphqlApiId,
Implementation
ShopifySharpAddress copyWith({
String? address1,
String? address2,
String? city,
String? company,
String? country,
String? countryCode,
String? countryName,
bool? $default,
String? firstName,
String? lastName,
double? latitude,
double? longitude,
String? name,
String? phone,
String? province,
String? provinceCode,
String? zip,
int? id,
String? adminGraphqlApiId,
}) {
return ShopifySharpAddress(
address1: address1 ?? this.address1,
address2: address2 ?? this.address2,
city: city ?? this.city,
company: company ?? this.company,
country: country ?? this.country,
countryCode: countryCode ?? this.countryCode,
countryName: countryName ?? this.countryName,
$default: $default ?? this.$default,
firstName: firstName ?? this.firstName,
lastName: lastName ?? this.lastName,
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
name: name ?? this.name,
phone: phone ?? this.phone,
province: province ?? this.province,
provinceCode: provinceCode ?? this.provinceCode,
zip: zip ?? this.zip,
id: id ?? this.id,
adminGraphqlApiId: adminGraphqlApiId ?? this.adminGraphqlApiId,
);
}