Constitution.fromJson constructor
Implementation
factory Constitution.fromJson(Map<String, dynamic> json) {
return Constitution(
anchor: Anchor.fromJson(json["anchor"]),
scriptHash: json["script_hash"] == null
? null
: ScriptHash.fromHex(json["script_hash"]));
}