AccountUpdateContract.fromJson constructor

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

Create a new AccountUpdateContract instance by parsing a JSON map.

Implementation

factory AccountUpdateContract.fromJson(Map<String, dynamic> json) {
  return AccountUpdateContract(
      ownerAddress: TronAddress(json["owner_address"]),
      accountName: StringUtils.encode(json["account_name"]));
}