Query constructor
Query({
- int? from,
- int? to,
- Query_SortBy? sort,
- Query_Order? order,
- String? search,
Implementation
factory Query({
$core.int? from,
$core.int? to,
Query_SortBy? sort,
Query_Order? order,
$core.String? search,
}) {
final _result = create();
if (from != null) {
_result.from = from;
}
if (to != null) {
_result.to = to;
}
if (sort != null) {
_result.sort = sort;
}
if (order != null) {
_result.order = order;
}
if (search != null) {
_result.search = search;
}
return _result;
}