QueryAllContractStateResponse constructor

QueryAllContractStateResponse({
  1. Iterable<Model>? models,
  2. PageResponse? pagination,
})

Implementation

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