Customer constructor

Customer(
  1. String id,
  2. String firstName,
  3. String secondName,
  4. String email,
  5. String mobile,
  6. String city,
  7. String country,
  8. String postalCode,
  9. String street,
  10. String state,
)

Implementation

Customer(this.id, this.firstName, this.secondName, this.email, this.mobile,
    this.city, this.country, this.postalCode, this.street, this.state) {
  this.id = id;
  this.firstName = firstName;
  this.secondName = secondName;
  this.email = email;
  this.mobile = mobile;
  this.city = city;
  this.country = country;
  this.postalCode = postalCode;
  this.street = street;
  this.state = state;
}