ClearABIContract.fromJson constructor

ClearABIContract.fromJson(
  1. Map<String, dynamic> json
)

Create a new ClearABIContract instance by parsing a JSON map.

Implementation

factory ClearABIContract.fromJson(Map<String, dynamic> json) {
  return ClearABIContract(
    ownerAddress: TronAddress(json["owner_address"]),
    contractAddress: TronAddress(json["contract_address"]),
  );
}