fromAmino static method

Vote fromAmino(
  1. VoteAminoArgs data
)

Implementation

static Vote fromAmino(VoteAminoArgs data) {
  return Vote(double.parse(data.proposal_id!), data.voter!, data.options!);
}