PolylinesController constructor

PolylinesController({
  1. required StreamController<MapEvent<Object?>> stream,
})

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>{};