TronKey.fromJson constructor
Create a new TronKey instance by parsing a JSON map.
Implementation
factory TronKey.fromJson(Map<String, dynamic> json) {
return TronKey(
address: OnChainUtils.parseTronAddress(
value: json['address'], name: 'address'),
weight:
OnChainUtils.parseBigInt(value: json['weight'], name: 'weight'));
}