fromData static method

MsgDeposit fromData(
  1. MsgDepositDataArgs data
)

Implementation

static MsgDeposit fromData(MsgDepositDataArgs data) {
  return MsgDeposit(double.parse(data.proposal_id), data.depositor,
      CoinsExtensions.fromData(data.amount));
}