limit method Null safety

Query<T> limit(
  1. int limit
)

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

Implementation

Query<T> limit(int limit);