FaucetCoinInfo.fromJson constructor

FaucetCoinInfo.fromJson(
  1. dynamic data
)

Implementation

factory FaucetCoinInfo.fromJson(dynamic data) {
  return FaucetCoinInfo(
    data['amount'],
    data['id'],
    data['transferTxDigest']
  );
}