updatePolygons method
Update polygons to the map view.
Throws PolygonNotFoundException if the polygons list contains
polygon that has not beed added to the map view via addPolygons or
contains polygon that has already been removed from the map view.
Implementation
Future<List<Polygon?>> updatePolygons(List<Polygon> polygons) async {
return GoogleMapsNavigationPlatform.instance.viewAPI.updatePolygons(
viewId: _viewId,
polygons: polygons,
);
}