Customer constructor

Customer({
  1. dynamic gid,
  2. dynamic email,
  3. dynamic name,
  4. dynamic phoneNumber,
  5. dynamic taxId,
  6. dynamic taxStatus,
  7. dynamic taxValue,
})

Implementation

Customer({gid, email, name, phoneNumber, taxId, taxStatus, taxValue}) {
  this.gid = gid ?? "";
  this.email = email ?? "";
  this.name = name ?? "";
  this.phoneNumber = phoneNumber ?? "";
  this.taxId = taxId ?? "";
  this.taxStatus = taxStatus ?? "";
  this.taxValue = taxValue;
}