Filter constructor
Filter({
- int? from,
- int? to,
- Filter_SortBy? sort,
- Filter_Order? order,
- String? search,
- String? role,
- bool? accepted,
Implementation
factory Filter({
$core.int? from,
$core.int? to,
Filter_SortBy? sort,
Filter_Order? order,
$core.String? search,
$core.String? role,
$core.bool? accepted,
}) {
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;
}
if (role != null) {
_result.role = role;
}
if (accepted != null) {
_result.accepted = accepted;
}
return _result;
}