protectedWithin method

  1. @protected
Stream<List<DocumentSnapshot<Map<String, dynamic>>>> protectedWithin({
  1. required GeoFirePoint center,
  2. required double radius,
  3. required String field,
  4. required int limit,
  5. required GeoPoint? geopointFrom(
    1. Map<String, dynamic> t
    ),
  6. required bool? strictMode,
})
inherited

Implementation

@protected
Stream<List<DocumentSnapshot<T>>> protectedWithin({
// Stream<List<DocumentSnapshot<T>>> protectedWithin({
  required GeoFirePoint center,
  required double radius,
  required String field,
  required int limit, // Added By Uraam
  required GeoPoint? Function(T t) geopointFrom,
  required bool? strictMode,
}) =>
    protectedWithinWithDistance(
      center: center,
      radius: radius,
      field: field,
      limit: limit, // added by uraam
      geopointFrom: geopointFrom,
      strictMode: strictMode,
    ).map((snapshots) =>
        snapshots.map((snapshot) => snapshot.documentSnapshot).toList());