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