UserFilter constructor

UserFilter({
  1. int? from,
  2. int? to,
  3. UserFilter_SortBy? sort,
  4. UserFilter_Order? order,
})

Implementation

factory UserFilter({
  $core.int? from,
  $core.int? to,
  UserFilter_SortBy? sort,
  UserFilter_Order? order,
}) {
  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;
  }
  return _result;
}