MinMaxZoomPreference constructor
Creates a immutable representation of the preferred minimum and maximum zoom values for the map camera.
AssertionError will be thrown if minZoom
> maxZoom
.
Implementation
const MinMaxZoomPreference(this.minZoom, this.maxZoom)
: assert(minZoom == null || maxZoom == null || minZoom <= maxZoom);