withPolygons method - PolygonDataSourceBuilder class - mapview.datasource library - Dart API
withPolygons
withPolygons abstract method
- List<
PolygonData> polygon
Configures the builder to insert the given polygons in the data source.
polygonThe polygons to add.
Returns PolygonDataSourceBuilder. This data source builder instance.
Implementation
PolygonDataSourceBuilder withPolygons(List<PolygonData> polygon);