startAtDocument abstract method

Query<T> startAtDocument(
  1. DocumentSnapshot<Object?> documentSnapshot
)

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

Calling this method will replace any existing cursor "start" query modifiers.

Implementation

Query<T> startAtDocument(
  // Voluntarily accepts any DocumentSnapshot<T>
  DocumentSnapshot documentSnapshot,
);