Polygon constructor
Polygon({
- LineString? boundary,
- List<
LineString> ? holes, - SpatialReferenceSystem? srs,
Implementation
Polygon(
{LineString? boundary,
List<LineString>? holes,
SpatialReferenceSystem? srs})
: super(srs: srs) {
this.boundary = boundary != null ? boundary : LineString();
this.holes = holes != null ? holes : [];
}