whereWithinGeoBox method

void whereWithinGeoBox (String key, ParseGeoPoint southwest, ParseGeoPoint northeast)

Add a constraint to the query that requires a particular key's coordinates be contained within a given rectangular geographic bounding box.

Implementation

void whereWithinGeoBox(
    String key, ParseGeoPoint southwest, ParseGeoPoint northeast) {
  _addCondition(key, "whereWithinGeoBox",
      <dynamic>[southwest.toJson, northeast.toJson]);
}