limitToLast method

  1. @override
Query<Map<String, dynamic>> limitToLast(
  1. int limit
)
override

Creates and returns a new Query that only returns the last matching documents.

You must specify at least one orderBy clause for limitToLast queries, otherwise an exception will be thrown during execution.

Implementation

@override
Query<Map<String, dynamic>> limitToLast(int limit) {
  // TODO: implement limitToLast
  throw UnimplementedError();
}