Billing constructor

const Billing({
  1. String apartment = "803",
  2. String email = "test@paymob.com",
  3. String floor = "42",
  4. String firstName = "Ahmed",
  5. String street = "Tahrir Street",
  6. String building = "8028",
  7. String phoneNumber = "+201001234567",
  8. String shippingMethod = "PKG",
  9. String postalCode = "01898",
  10. String city = "Cairo",
  11. String country = "EG",
  12. String lastName = "Ali",
  13. String state = "Cairo",
})

Implementation

const Billing({
  this.apartment = "803",
  this.email = "test@paymob.com",
  this.floor = "42",
  this.firstName = "Ahmed",
  this.street = "Tahrir Street",
  this.building = "8028",
  this.phoneNumber = "+201001234567",
  this.shippingMethod = "PKG",
  this.postalCode = "01898",
  this.city = "Cairo",
  this.country = "EG",
  this.lastName = "Ali",
  this.state = "Cairo",
});