QueryContractHistoryResponse constructor

QueryContractHistoryResponse({
  1. Iterable<ContractCodeHistoryEntry>? entries,
  2. PageResponse? pagination,
})

Implementation

factory QueryContractHistoryResponse({
  $core.Iterable<$3.ContractCodeHistoryEntry>? entries,
  $5.PageResponse? pagination,
}) {
  final _result = create();
  if (entries != null) {
    _result.entries.addAll(entries);
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}