OsmLocation constructor

const OsmLocation({
  1. required int osmId,
  2. required LocationOSMType osmType,
  3. required double longitude,
  4. required double latitude,
  5. String? name,
  6. String? street,
  7. String? city,
  8. String? postcode,
  9. String? country,
  10. String? countryCode,
  11. String? osmKey,
  12. String? osmValue,
})

Implementation

const OsmLocation({
  required this.osmId,
  required this.osmType,
  required this.longitude,
  required this.latitude,
  this.name,
  this.street,
  this.city,
  this.postcode,
  this.country,
  this.countryCode,
  this.osmKey,
  this.osmValue,
});