toAmino method

MsgVoteAminoArgs toAmino()

Implementation

MsgVoteAminoArgs toAmino() {
  var val = MsgVoteValueAminoArgs()
    ..proposalId = proposal_id.toString()
    ..voter = voter
    ..option = option;

  return MsgVoteAminoArgs(val);
}