Feature constructor

Feature({
  1. required String id,
  2. required String type,
  3. required List<String> placeType,
  4. required Properties properties,
  5. required String text,
  6. required String placeName,
  7. required List<double> center,
  8. required Geometry geometry,
  9. required List<Context> context,
  10. List<double>? bbox,
  11. String? matchingText,
  12. String? matchingPlaceName,
})

Implementation

Feature({
  required this.id,
  required this.type,
  required this.placeType,
  required this.properties,
  required this.text,
  required this.placeName,
  required this.center,
  required this.geometry,
  required this.context,
  this.bbox,
  this.matchingText,
  this.matchingPlaceName,
});