ReceiptMessageOut.fromJson constructor
Implementation
factory ReceiptMessageOut.fromJson(Map<String, dynamic> data) {
Map<String, int> uint8Arr = data['data'];
return ReceiptMessageOut(
sender: addHexPrefix(data['sender']),
recipient: addHexPrefix(data['recipient']),
amount: parseBigInt(data['amount']),
nonce: data['nonce'],
digest: data['digest'],
data: Uint8List.fromList(uint8Arr.values.toList()));
}