whereNear method

void whereNear(
  1. String column,
  2. ParseGeoPoint point
)

Returns an objects with key point values near the point given

Implementation

void whereNear(String column, ParseGeoPoint point) {
  final double latitude = point.latitude;
  final double longitude = point.longitude;
  queries.add(MapEntry<String, dynamic>(_singleQuery,
      '"$column":{"\$nearSphere":{"__type":"GeoPoint","latitude":$latitude,"longitude":$longitude}}'));
}