endAt method

Query endAt(
  1. Object? value, {
  2. String? key,
})

Create a query constrained to only return child nodes with a value less than or equal to the given value, using the given orderBy directive or priority as default, and optionally only child nodes with a key less than or equal to the given key.

Implementation

Query endAt(Object? value, {String? key}) {
  return Query._(
    _queryDelegate,
    _modifiers.end(EndCursorModifier.endAt(value, key)),
  );
}