limit method

QueryReference<T> limit(
  1. int n
)

Sets the maximum number of documents returned.

Implementation

QueryReference<T> limit(int n) {
  return _withSpec(_spec.copyWith(limit: n));
}