withinRadius method Null safety

Query withinRadius(
  1. {required GeoPoint center,
  2. required String radius,
  3. required String field}
)

Implementation

Query withinRadius({
  required GeoPoint center,
  required String radius,
  required String field,
}) =>
    Query(
      client,
      index,
      compoundBody,
      field,
      isWithinRadius:
          GeoDistanceQuery(center: center, radius: radius, field: field),
    );