Bounds class

Geographical bounding box by coordinates of LatLng object.

Available extensions

Constructors

Bounds.new({required Coords southwest, required Coords northeast})
Constructor for Bounds.
Bounds.fromJson(dynamic json)
Constructor for Bounds by JSON Map object.
factory

Properties

hashCode int
The hash code for this object.
no setter
northeast → LatLng
The northeast corner of the rectangle.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southwest → LatLng
The southwest corner of the rectangle.
finalinherited

Methods

contains(LatLng point) bool
Returns whether this rectangle contains the given LatLng.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBounds() Bounds

Available on LatLngBounds, provided by the LatLngBoundsConvert extension

Converts LatLngBounds to Bounds.
toJson() Object
Converts this object to something serializable in JSON.
inherited
toString() String
A string representation of this object.

Operators

operator ==(Object other) bool
The equality operator.