Address constructor

Address({
  1. required String formattedAddress,
  2. required String city,
  3. int? streetNumber,
  4. String? street,
  5. required String state,
  6. required String postalCode,
  7. required String country,
  8. required double longitude,
  9. required double latitude,
  10. String? mainText,
  11. String? secondaryText,
})

Implementation

Address({
  required this.formattedAddress,
  required this.city,
  this.streetNumber,
  this.street,
  required this.state,
  required this.postalCode,
  required this.country,
  required this.longitude,
  required this.latitude,
  this.mainText,
  this.secondaryText,
});