Polygon.fromPoints constructor
Implementation
Polygon.fromPoints({BBox? bbox, required List<List<Point>> points})
: assert(points.expand((list) => list).length >= 3),
super.withType(
points.map((e) => e.map((e) => e.coordinates).toList()).toList(),
GeoJSONObjectType.polygon,
bbox: bbox);