ExchangeInjectContract.fromJson constructor
Create a new ExchangeInjectContract instance by parsing a JSON map.
Implementation
factory ExchangeInjectContract.fromJson(Map<String, dynamic> json) {
return ExchangeInjectContract(
ownerAddress: TronAddress(json["owner_address"]),
exchangeId: BigintUtils.tryParse(json["exchange_id"]),
tokenId: BytesUtils.tryFromHexString(json["token_id"]),
quant: BigintUtils.tryParse(json["quant"]),
);
}