ProposalApproveContract.fromJson constructor
Create a new ProposalApproveContract instance by parsing a JSON map.
Implementation
factory ProposalApproveContract.fromJson(Map<String, dynamic> json) {
return ProposalApproveContract(
ownerAddress: TronAddress(json["owner_address"]),
proposalId: BigintUtils.tryParse(json["proposal_id"]),
isAddApproval: json["is_add_approval"],
);
}