PolygonData constructor

PolygonData({
  1. required String id,
  2. required List<LatLng> points,
  3. String fillColor = '#FF0000',
  4. double fillOpacity = 0.4,
})

Implementation

PolygonData({
  required this.id,
  required this.points,
  this.fillColor = '#FF0000',
  this.fillOpacity = 0.4,
});