fromAmino static method

Implementation

static WeightedVoteOption fromAmino(WeightedVoteAminoArgs data) {
  return WeightedVoteOption(data.option!, double.parse(data.weight!));
}