withinRadians method Null safety
- String key,
- NCMBGeoPoint geo,
- double maxDistance
指定したフィールドの値が、指定した位置情報の指定したラジアン以内に存在することを検索条件に追加する
key
フィールド名
geo
位置情報
maxDistance
最大距離(ラジアン)
Implementation
void withinRadians(String key, NCMBGeoPoint geo, double maxDistance) {
setOperand(key, maxDistance, ope: '\$maxDistanceInRadians');
setOperand(key, geo.toJson(), ope: '\$nearSphere');
}