ParamsOfQueryCollection constructor

ParamsOfQueryCollection(
  1. {@required String collection,
  2. dynamic filter,
  3. @required String result,
  4. List<OrderBy> order,
  5. int limit}
)

Implementation

ParamsOfQueryCollection({
  @required String collection,
  dynamic filter,
  @required String result,
  List<OrderBy> order,
  int limit,
}) {
  _collection = ArgumentError.checkNotNull(
      collection, 'ParamsOfQueryCollection collection');
  _filter = filter;
  _result =
      ArgumentError.checkNotNull(result, 'ParamsOfQueryCollection result');
  _order = order;
  _limit = limit;
}