toData method

MsgVoteDataArgs toData()

Implementation

MsgVoteDataArgs toData() {
  return MsgVoteDataArgs()
    ..proposalId = proposal_id.toString()
    ..voter = voter
    ..option = option;
}