addPolygon method
Add a polygon on the map
Implementation
Future<void> addPolygon(
{@required String name,
@required List<LatLng> points,
Color color = Colors.lightBlue,
double borderWidth = 0.0,
Color borderColor = const Color(0xFFFFFF00)}) =>
_polygonsState.addPolygon(
name: name,
points: points,
color: color,
borderWidth: borderWidth,
borderColor: borderColor);