fromJSONForProp static method

Deposit fromJSONForProp(
  1. ProposalDepositsJSON data
)

Implementation

static Deposit fromJSONForProp(ProposalDepositsJSON data) {
  return Deposit(int.parse(data.proposal_id), data.depositor,
      CoinsExtensions.fromJSON(data.amount));
}