endAtDocument method
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:
- startAfterDocument for a query that starts after a document.
- startAtDocument for a query that starts at a document.
- endBeforeDocument for a query that ends before a document.
Implementation
@override
Query<Map<String, dynamic>> endAtDocument(
DocumentSnapshot<Object?> documentSnapshot,
) {
// TODO: implement endAtDocument
throw UnimplementedError();
}