reset method Null safety

void reset()

When this method is called, the map will be reset to the MapZoomPanBehavior.minZoomLevel.

Implementation

void reset() {
  if (_controller != null) {
    zoomLevel = minZoomLevel;
    if (_controller!.layerType == LayerType.shape) {
      _controller!.notifyListeners();
    }
  }
}