endAt method

Query<QueryJsImpl> endAt(
  1. dynamic value, [
  2. String? key
])

Returns a Query with the ending point value. The ending point is inclusive.

The value must be a num, String, bool, or null, or the error is thrown. The optional key can be used to further limit the range of the query.

Implementation

Query endAt(value, [String? key]) => Query.fromJsObject(key == null
    ? jsObject.endAt(jsify(value))
    : jsObject.endAt(jsify(value), key));