Feature constructor

const Feature({
  1. required Geometry? geometry,
  2. Map<String, Object>? properties,
  3. Object? id,
})

Default constructor.

Implementation

const Feature({
  required this.geometry,
  this.properties,
  this.id,
}) : assert(id == null || id is int || id is String);