Place constructor

Place({
  1. required int placeId,
  2. required String? osmType,
  3. required int? osmId,
  4. required List<String> boundingBox,
  5. required double lat,
  6. required double lon,
  7. required String displayName,
  8. required int placeRank,
  9. required String category,
  10. required String type,
  11. required double importance,
  12. String? icon,
  13. Map<String, dynamic>? address,
  14. Map<String, dynamic>? extraTags,
  15. Map<String, dynamic>? nameDetails,
})

Implementation

Place({
  required this.placeId,
  required this.osmType,
  required this.osmId,
  required this.boundingBox,
  required this.lat,
  required this.lon,
  required this.displayName,
  required this.placeRank,
  required this.category,
  required this.type,
  required this.importance,
  this.icon,
  this.address,
  this.extraTags,
  this.nameDetails,
});