ReceiptCall.fromJson constructor

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

Implementation

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