VoterDRepScriptHash.fromJson constructor
Implementation
factory VoterDRepScriptHash.fromJson(Map<String, dynamic> json) {
VoterType.fromJson(json.keys.firstOrNull,
validate: VoterType.drepScriptHash);
return VoterDRepScriptHash(
CredentialScript(BytesUtils.fromHexString(json["drep_script_hash"])));
}