ListDevicesRequest constructor

ListDevicesRequest({
  1. List<int>? offset,
  2. Int64? limit,
  3. String? orderBy,
  4. bool? orderDesc,
  5. ListDevicesFilter? filter,
})

Implementation

factory ListDevicesRequest({
  $core.List<$core.int>? offset,
  $fixnum.Int64? limit,
  $core.String? orderBy,
  $core.bool? orderDesc,
  ListDevicesFilter? filter,
}) {
  final _result = create();
  if (offset != null) {
    _result.offset = offset;
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (orderBy != null) {
    _result.orderBy = orderBy;
  }
  if (orderDesc != null) {
    _result.orderDesc = orderDesc;
  }
  if (filter != null) {
    _result.filter = filter;
  }
  return _result;
}