BoundingBox.fromRawValues constructor

BoundingBox.fromRawValues({
  1. required double minLat,
  2. required double maxLat,
  3. required double minLon,
  4. required double maxLon,
})

Implementation

factory BoundingBox.fromRawValues({
  required double minLat,
  required double maxLat,
  required double minLon,
  required double maxLon,
}) {
  return BoundingBox(
    min: LatLng(minLat, minLon),
    max: LatLng(maxLat, maxLon),
  );
}