GeographyPolygon constructor

const GeographyPolygon({
  1. required List<GeographyPoint> exteriorRing,
  2. List<List<GeographyPoint>> holes = const [],
  3. int srid = Geography.defaultSrid,
})

Creates a new GeographyPolygon.

Implementation

const GeographyPolygon({
  required this.exteriorRing,
  this.holes = const [],
  this.srid = Geography.defaultSrid,
});