BoundingBox constructor
const
BoundingBox()
Creates a BoundingBox with the specified coordinate boundaries.
minLatitude The southern boundary in decimal degrees
minLongitude The western boundary in decimal degrees
maxLatitude The northern boundary in decimal degrees
maxLongitude The eastern boundary in decimal degrees
Asserts that min values are less than or equal to max values
Implementation
const BoundingBox(this.minLatitude, this.minLongitude, this.maxLatitude, this.maxLongitude)
: assert(minLatitude <= maxLatitude),
assert(minLongitude <= maxLongitude);