withinSquare method Null safety
- String key,
- NCMBGeoPoint southWestVertex,
- NCMBGeoPoint northEastVertex
Implementation
void withinSquare(
String key, NCMBGeoPoint southWestVertex, NCMBGeoPoint northEastVertex) {
var box = {
'\$box': [southWestVertex.toJson(), northEastVertex.toJson()]
};
setOperand(key, box, ope: '\$within');
}