MsgVote constructor

MsgVote({
  1. Int64? proposalId,
  2. String? voter,
  3. VoteOption? option,
})

Implementation

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