QueryPinnedCodesResponse constructor

QueryPinnedCodesResponse({
  1. Iterable<Int64>? codeIds,
  2. PageResponse? pagination,
})

Implementation

factory QueryPinnedCodesResponse({
  $core.Iterable<$fixnum.Int64>? codeIds,
  $5.PageResponse? pagination,
}) {
  final _result = create();
  if (codeIds != null) {
    _result.codeIds.addAll(codeIds);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}