Event constructor
Event({})
Implementation
factory Event({
String? id,
String? type,
required LngLat lngLat,
required List<Feature> features,
required Point point,
}) =>
Event.fromJsObject(EventJsImpl(
id: id,
type: type,
lngLat: lngLat.jsObject,
features: features.map((dynamic f) => f.jsObject).toList()
as List<FeatureJsImpl?>?,
point: point.jsObject,
));