WitnessCreateContract.fromJson constructor
Create a new WitnessCreateContract instance by parsing a JSON map.
Implementation
factory WitnessCreateContract.fromJson(Map<String, dynamic> json) {
return WitnessCreateContract(
ownerAddress: OnChainUtils.parseTronAddress(
value: json['owner_address'], name: "owner_address"),
url: OnChainUtils.parseBytes(value: json['url'], name: "url"),
);
}