fromData static method

Deposit fromData(
  1. DepositDataArgs data
)

Implementation

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