ReceiveDescription.fromJson constructor
Create a new ReceiveDescription instance by parsing a JSON map.
Implementation
factory ReceiveDescription.fromJson(Map<String, dynamic> json) {
return ReceiveDescription(
valueCommitment: BytesUtils.tryFromHexString(json['value_commitment']),
noteCommitment: BytesUtils.tryFromHexString(json['note_commitment']),
epk: BytesUtils.tryFromHexString(json['epk']),
cEnc: BytesUtils.tryFromHexString(json['c_enc']),
cOut: BytesUtils.tryFromHexString(json['c_out']),
zkproof: BytesUtils.tryFromHexString(json['zkproof']),
);
}