copyWith method
AddressDetailsData
copyWith({
- String? masterUserAddressID,
- String? type,
- String? landmark,
- String? address,
- String? city,
- String? cityId,
- String? state,
- String? stateId,
- String? pincode,
- String? country,
- String? countryId,
- String? documentType,
- String? documentNumber,
- String? documentFront,
- String? documentBack,
- String? panNumber,
- String? panCardFront,
Implementation
AddressDetailsData copyWith({ String? masterUserAddressID,
String? type,
String? landmark,
String? address,
String? city,
String? cityId,
String? state,
String? stateId,
String? pincode,
String? country,
String? countryId,
String? documentType,
String? documentNumber,
String? documentFront,
String? documentBack,
String? panNumber,
String? panCardFront,
}) => AddressDetailsData( masterUserAddressID: masterUserAddressID ?? _masterUserAddressID,
type: type ?? _type,
landmark: landmark ?? _landmark,
address: address ?? _address,
city: city ?? _city,
cityId: cityId ?? _cityId,
state: state ?? _state,
stateId: stateId ?? _stateId,
pincode: pincode ?? _pincode,
country: country ?? _country,
countryId: countryId ?? _countryId,
documentType: documentType ?? _documentType,
documentNumber: documentNumber ?? _documentNumber,
documentFront: documentFront ?? _documentFront,
documentBack: documentBack ?? _documentBack,
panNumber: panNumber ?? _panNumber,
panCardFront: panCardFront ?? _panCardFront,
);