fromAmino static method

Deposit fromAmino(
  1. DepositAminoArgs data
)

Implementation

static Deposit fromAmino(DepositAminoArgs data) {
  return Deposit(int.parse(data.proposalId!), data.depositor!,
      CoinsExtensions.fromAmino(data.amount!));
}