PolygonsController constructor
PolygonsController({
- required StreamController<
MapEvent< stream,Object?> >
Initializes the cache. The StreamController comes from the GoogleMapController, and is shared with other controllers.
Implementation
PolygonsController({
required StreamController<MapEvent<Object?>> stream,
}) : _streamController = stream,
_polygonIdToController = <PolygonId, PolygonController>{};