Location constructor

const Location({
  1. required String type,
  2. String? country,
  3. String? province,
  4. String? provinceAddr,
  5. String? city,
  6. String? cityAddr,
  7. String? area,
  8. String? areaAddr,
  9. String? street,
  10. String? streets,
  11. String? region,
  12. String? poi,
})

Implementation

const Location({
  required this.type,
  this.country,
  this.province,
  this.provinceAddr,
  this.city,
  this.cityAddr,
  this.area,
  this.areaAddr,
  this.street,
  this.streets,
  this.region,
  this.poi,
});