Address constructor

Address({
  1. String addressName = "",
  2. String fullname = "",
  3. String address = "",
  4. String note = "",
  5. int addressId = -1,
  6. String latitude = "",
  7. String longitude = "",
  8. int customerAddressID = -1,
  9. String phoneNumber = "",
  10. int countryID = -1,
  11. String countryName = "",
  12. int provinceID = -1,
  13. String provinceName = "",
  14. int cityID = -1,
  15. String cityName = "",
  16. int districtID = -1,
  17. String districtName = "",
  18. int subdistrictID = -1,
  19. String subdistrictName = "",
  20. String postalCode = "",
  21. String addressNotes = "",
  22. bool isDefault = false,
  23. String langtitude = "",
  24. String longtitude = "",
  25. ShippingCoverage? shippingCoverage,
})

Implementation

Address({
  this.addressName = "",
  this.fullname = "",
  this.address = "",
  this.note = "",
  this.addressId = -1,
  this.latitude = "",
  this.longitude = "",
  this.customerAddressID = -1,
  this.phoneNumber = "",
  this.countryID = -1,
  this.countryName = "",
  this.provinceID = -1,
  this.provinceName = "",
  this.cityID = -1,
  this.cityName = "",
  this.districtID = -1,
  this.districtName = "",
  this.subdistrictID = -1,
  this.subdistrictName = "",
  this.postalCode = "",
  this.addressNotes = "",
  this.isDefault = false,
  this.langtitude = "",
  this.longtitude = "",
  this.shippingCoverage,
});