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