startAfter method

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

Creates a Query with the specified starting point (exclusive). Using startAt, startAfter, endBefore, endAt and equalTo allows you to choose arbitrary starting and ending points for your queries.

The starting point is exclusive.

If only a value is provided, children with a value greater than the specified value will be included in the query. If a key is specified, then children must have a value greater than or equal to the specified value and a key name greater than the specified key.

Implementation

Query startAfter(Object? value, {String? key}) {
  return Query._(
    _queryDelegate,
    _modifiers.start(StartCursorModifier.startAfter(value, key)),
  );
}