limit method

TypedQuery<D> limit(
  1. int length
)

Creates and returns a new Query that's additionally limited to only return up to the specified number of documents.

Implementation

TypedQuery<D> limit(int length) =>
    TypedQuery(_firestore, _inner.limit(length));