SpendDescription.fromJson constructor
Create a new SpendDescription instance by parsing a JSON map.
Implementation
factory SpendDescription.fromJson(Map<String, dynamic> json) {
  return SpendDescription(
    valueCommitment: BytesUtils.tryFromHexString(json["value_commitment"]),
    anchor: BytesUtils.tryFromHexString(json["anchor"]),
    nullifier: BytesUtils.tryFromHexString(json["nullifier"]),
    rk: BytesUtils.tryFromHexString(json["rk"]),
    zkproof: BytesUtils.tryFromHexString(json["zkproof"]),
    spendAuthoritySignature:
        BytesUtils.tryFromHexString(json["spend_authority_signature"]),
  );
}