UnfreezeBalanceContract.fromJson constructor
Create a new UnfreezeBalanceContract instance by parsing a JSON map.
Implementation
factory UnfreezeBalanceContract.fromJson(Map<String, dynamic> json) {
return UnfreezeBalanceContract(
ownerAddress: TronAddress(json["owner_address"]),
resource: ResourceCode.fromName(json["resource"]),
receiverAddress: json["receiver_address"] == null
? null
: TronAddress(json["receiver_address"]),
);
}