MinMaxZoomPreference class Null safety

Preferred bounds for map camera zoom level.

Constructors

MinMaxZoomPreference(double? minZoom, double? maxZoom)
Creates a immutable representation of the preferred minimum and maximum zoom values for the map camera. [...]
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
maxZoom double?
The preferred maximum zoom level or null, if unbounded from above.
final
minZoom double?
The preferred minimum zoom level or null, if unbounded from below.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Object
Converts this object to something serializable in JSON.
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override

Constants

unbounded → const MinMaxZoomPreference
Unbounded zooming.
MinMaxZoomPreference(null, null)