ReceiptTransferOut.fromJson constructor

ReceiptTransferOut.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory ReceiptTransferOut.fromJson(Map<String, dynamic> data) {
  return ReceiptTransferOut(
      from: addHexPrefix(data['from']),
      to: addHexPrefix(data['to']),
      amount: parseBigInt(data['amount']),
      assetId: addHexPrefix(data['assetId']));
}