TransferContract.fromJson constructor
Create a new TransferContract instance by parsing a JSON map.
Implementation
factory TransferContract.fromJson(Map<String, dynamic> json) {
return TransferContract(
amount: BigintUtils.parse(json['amount']),
ownerAddress: TronAddress(json['owner_address']),
toAddress: TronAddress(json['to_address']),
);
}