toData method

Implementation

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