GeoBoundingBox constructor

GeoBoundingBox({
  1. GeoPoint? topLeft,
  2. GeoPoint? bottomRight,
})

Implementation

factory GeoBoundingBox({
  GeoPoint? topLeft,
  GeoPoint? bottomRight,
}) {
  final $result = create();
  if (topLeft != null) {
    $result.topLeft = topLeft;
  }
  if (bottomRight != null) {
    $result.bottomRight = bottomRight;
  }
  return $result;
}