Address constructor

Address({
  1. required String id,
  2. required String name,
  3. String? email,
  4. String? phone,
  5. String? line1,
  6. String? line2,
  7. String? postalCode,
  8. String? city,
  9. String? state,
  10. CountryEnum? country,
})

Returns a new Address instance.

Implementation

Address({
  required this.id,
  required this.name,
  this.email,
  this.phone,
  this.line1,
  this.line2,
  this.postalCode,
  this.city,
  this.state,
  this.country,
});