LatLngBounds constructor

LatLngBounds({
  1. required LatLng southwest,
  2. required LatLng northeast,
})

Creates geographical bounding box with the specified corners.

The latitude of the southwest corner cannot be larger than the latitude of the northeast corner.

Implementation

LatLngBounds({required this.southwest, required this.northeast})
    : assert(southwest.latitude <= northeast.latitude);