limit method
Creates a new Query where the results are limited to the specified number of documents.
The limit
parameter is the maximum number of items to return.
Returns non-null created Query.
Implementation
Query limit(num limit) => Query.fromJsObject(jsObject.limit(limit));