Address constructor

const Address({
  1. String line1 = '',
  2. String line2 = '',
  3. String city = '',
  4. String state = '',
  5. String postalCode = '',
  6. String country = '',
  7. String? text,
})

Implementation

const Address({
  this.line1 = '',
  this.line2 = '',
  this.city = '',
  this.state = '',
  this.postalCode = '',
  this.country = '',
  String? text,
}) : this.text = text ?? '$line1, $postalCode $city, $state, $country';