fromData static method

MsgVote fromData(
  1. MsgVoteDataArgs data
)

Implementation

static MsgVote fromData(MsgVoteDataArgs data) {
  return MsgVote(double.parse(data.proposalId!), data.voter!, data.option!);
}