withinBox method Null safety

Query withinBox(
  1. {required GeoPoint topLeft,
  2. required GeoPoint bottomRight,
  3. required String field}
)

Implementation

Query withinBox({
  required GeoPoint topLeft,
  required GeoPoint bottomRight,
  required String field,
}) =>
    Query(
      client,
      index,
      compoundBody,
      field,
      isWithinBox: GeoBoxQuery(
          topLeft: topLeft, bottomRight: bottomRight, field: field),
    );