endAtDocument method

  1. @override
Query<Map<String, dynamic>> endAtDocument(
  1. DocumentSnapshot<Object?> documentSnapshot
)
override

Creates and returns a new Query that ends at the provided document (inclusive). The end position is relative to the order of the query. The document must contain all of the fields provided in the orderBy of this query.

Cannot be used in combination with endBefore, endBeforeDocument, or endAt, but can be used in combination with startAt, startAfter, startAtDocument and startAfterDocument.

See also:

Implementation

@override
Query<Map<String, dynamic>> endAtDocument(
  DocumentSnapshot<Object?> documentSnapshot,
) {
  // TODO: implement endAtDocument
  throw UnimplementedError();
}