Bounds class

Represents a geographical bounding box defined by latitude and longitude ranges. This is used to determine whether a specific coordinate falls within a defined area.

Constructors

Bounds.new({required double minLat, required double maxLat, required double minLon, required double maxLon})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxLat double
final
maxLon double
final
minLat double
final
minLon double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contains(double lat, double lon) bool
Checks if a given coordinate (latitude, longitude) is within the bounds.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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