withinRadians method Null safety

void withinRadians(
  1. String key,
  2. NCMBGeoPoint geo,
  3. 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');
}