toAmino method

Implementation

WeightedVoteAminoArgs toAmino() {
  return WeightedVoteAminoArgs()
    ..weight = weight.toString()
    ..option = option;
}