protectedWithin method
Stream<List<DocumentSnapshot<Map<String, dynamic> > > >
protectedWithin({
- required GeoFirePoint center,
- required double radius,
- required String field,
- required int limit,
- required GeoPoint? geopointFrom(),
- 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());