AddressModel constructor

AddressModel({
  1. String? userID,
  2. String? id,
  3. required String name,
  4. required String phone,
  5. required String buildingName,
  6. String? appartmentNumber,
  7. required String area,
  8. required String postalCode,
  9. required String city,
  10. required String state,
  11. required bool isDefaultAddress,
})

Implementation

AddressModel({
  this.userID,
  this.id,
  required this.name,
  required this.phone,
  required this.buildingName,
  this.appartmentNumber,
  required this.area,
  required this.postalCode,
  required this.city,
  required this.state,
  required this.isDefaultAddress,
});