copyWith method
KwikAddress
copyWith({
- String? id,
- String? label,
- String? address,
- String? name,
- String? phone,
- String? source,
- String? email,
- String? houseNo,
- String? area,
- String? landmark,
- String? pincode,
- String? city,
- String? state,
- String? country,
- String? flatHouseNo,
- String? addressLine1,
- String? addressLine2,
- String? addressLine3,
- KwikAddressCoordinates? coordinates,
Implementation
KwikAddress copyWith({
String? id,
String? label,
String? address,
String? name,
String? phone,
String? source,
String? email,
String? houseNo,
String? area,
String? landmark,
String? pincode,
String? city,
String? state,
String? country,
String? flatHouseNo,
String? addressLine1,
String? addressLine2,
String? addressLine3,
KwikAddressCoordinates? coordinates,
}) =>
KwikAddress(
id: id ?? this.id,
label: label ?? this.label,
address: address ?? this.address,
name: name ?? this.name,
phone: phone ?? this.phone,
source: source ?? this.source,
email: email ?? this.email,
houseNo: houseNo ?? this.houseNo,
area: area ?? this.area,
landmark: landmark ?? this.landmark,
pincode: pincode ?? this.pincode,
city: city ?? this.city,
state: state ?? this.state,
country: country ?? this.country,
flatHouseNo: flatHouseNo ?? this.flatHouseNo,
addressLine1: addressLine1 ?? this.addressLine1,
addressLine2: addressLine2 ?? this.addressLine2,
addressLine3: addressLine3 ?? this.addressLine3,
coordinates: coordinates ?? this.coordinates,
);