endBeforeDocument method

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

Sets the ending point for the query using a document snapshot.

Implementation

Query<T> endBeforeDocument(DocumentSnapshot documentSnapshot) {
  state = state.endBeforeDocument(documentSnapshot);
  return state;
}