fromData static method

Implementation

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