LocationBounds class

Geographic bounding box for spatial filtering.

Constructors

LocationBounds({required Coords southwest, required Coords northeast})
Creates a bounding box.
const
LocationBounds.fromMap(JsonMap map)
Creates from a map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
northeast Coords
Northeast corner (maximum lat/lng).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southwest Coords
Southwest corner (minimum lat/lng).
final

Methods

contains(Coords coords) bool
Whether the given coordinates are within this bounding box.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() JsonMap
Converts to a map.
toString() String
A string representation of this object.
inherited

Operators

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