QueryVoteRequest constructor

QueryVoteRequest({
  1. Int64? proposalId,
  2. String? voter,
})

Implementation

factory QueryVoteRequest({
  $fixnum.Int64? proposalId,
  $core.String? voter,
}) {
  final _result = create();
  if (proposalId != null) {
    _result.proposalId = proposalId;
  }
  if (voter != null) {
    _result.voter = voter;
  }
  return _result;
}