QueryVotesRequest constructor

QueryVotesRequest({
  1. Int64? proposalId,
  2. PageRequest? pagination,
})

Implementation

factory QueryVotesRequest({
  $fixnum.Int64? proposalId,
  $7.PageRequest? pagination,
}) {
  final _result = create();
  if (proposalId != null) {
    _result.proposalId = proposalId;
  }
  if (pagination != null) {
    _result.pagination = pagination;
  }
  return _result;
}