geoWithin method
dynamic
geoWithin(
- dynamic geometry
Implementation
geoWithin(geometry) {
if (!(geometry is MultiPolygon || geometry is Polygon)) {
throw CloudBaseException(
code: CloudBaseExceptionCode.INVALID_PARAM,
message: '"geometry" must be of type Polygon or MultiPolygon.',
);
}
return this._queryOP(QueryCommandsLiteral.GEO_WITHIN, {
'geometry': geometry,
});
}