CubaEntityFilter constructor

CubaEntityFilter({
  1. required Filter filter,
  2. String? view,
  3. bool? returnCount,
  4. int? limit,
  5. int? offset,
  6. String? sort,
  7. SortTypes? sortType,
})

Implementation

CubaEntityFilter({
  required this.filter,
  this.view,
  this.returnCount,
  this.limit,
  this.offset,
  this.sort,
  SortTypes? sortType,
}) {
  if (sort != null) {
    this.sort = "${(sortType == SortTypes.asc ? "-" : "+")}${this.sort}";
  }
}