Address constructor

const Address({
  1. String? formatted,
  2. String? street,
  3. String? city,
  4. String? state,
  5. String? postalCode,
  6. String? country,
  7. String? isoCountryCode,
  8. String? subAdministrativeArea,
  9. String? subLocality,
  10. String? poBox,
  11. String? neighborhood,
  12. Label<AddressLabel>? label,
  13. PropertyMetadata? metadata,
})

Implementation

const Address({
  this.formatted,
  this.street,
  this.city,
  this.state,
  this.postalCode,
  this.country,
  this.isoCountryCode,
  this.subAdministrativeArea,
  this.subLocality,
  this.poBox,
  this.neighborhood,
  Label<AddressLabel>? label,
  this.metadata,
}) : label = label ?? const Label(AddressLabel.home);