copyWith method

AddressDetailsData copyWith({
  1. String? masterUserAddressID,
  2. String? type,
  3. String? landmark,
  4. String? address,
  5. String? city,
  6. String? cityId,
  7. String? state,
  8. String? stateId,
  9. String? pincode,
  10. String? country,
  11. String? countryId,
  12. String? documentType,
  13. String? documentNumber,
  14. String? documentFront,
  15. String? documentBack,
  16. String? panNumber,
  17. 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,
);