Feature constructor

Feature({
  1. String? type = 'Feature',
  2. FeatureGeometry? geometry,
  3. List<String>? properties = const [],
})

Returns a new Feature instance.

Implementation

Feature({
  this.type = 'Feature',
  this.geometry,
  this.properties = const [],
});