CirclesController constructor

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

Initialize the cache. The StreamController comes from the GoogleMapController, and is shared with other controllers.

Implementation

CirclesController({required StreamController<MapEvent<Object?>> stream})
  : _streamController = stream,
    _circleIdToController = <CircleId, CircleController>{};