QueryCodesResponse constructor

QueryCodesResponse({
  1. Iterable<CodeInfoResponse>? codeInfos,
  2. PageResponse? pagination,
})

Implementation

factory QueryCodesResponse({
  $core.Iterable<CodeInfoResponse>? codeInfos,
  $5.PageResponse? pagination,
}) {
  final _result = create();
  if (codeInfos != null) {
    _result.codeInfos.addAll(codeInfos);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}