endBefore method

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

Creates a Query with the specified ending point (exclusive) The ending point is exclusive. If only a value is provided, children with a value less than the specified value will be included in the query. If a key is specified, then children must have a value lesss than or equal to the specified value and a key name less than the specified key.

Implementation

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