withinWithDistance method

Stream<List<DistanceDocSnapshot<Map<String, dynamic>>>> withinWithDistance({
  1. required GeoFirePoint center,
  2. required double radius,
  3. required String field,
  4. required int limit,
  5. bool? strictMode,
})

Implementation

Stream<List<DistanceDocSnapshot<Map<String, dynamic>>>> withinWithDistance({
  required GeoFirePoint center,
  required double radius,
  required String field,
  required int limit,
  bool? strictMode,
}) {
  return protectedWithinWithDistance(
    center: center,
    radius: radius,
    field: field,
    limit: limit,
    geopointFrom: (snapData) => geopointFromMap(
      field: field,
      snapData: snapData,
    ),
    strictMode: strictMode,
  );
}