TradeResponse class
Represents trades response from the horizon server. See: Trades documentation
Constructors
-
TradeResponse(String id,
String pagingToken, String ledgerCloseTime, String offerId, bool baseIsSeller, KeyPair baseAccount, String baseOfferId, String baseAmount, String baseAssetType, String baseAssetCode, String baseAssetIssuer, KeyPair counterAccount, String counterOfferId, String counterAmount, String counterAssetType, String counterAssetCode, String counterAssetIssuer, Price price ) -
TradeResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- baseAccount ↔ KeyPair
-
read / write
- baseAmount ↔ String
-
read / write
- baseAsset → Asset
-
read-only
- baseAssetCode ↔ String
-
read / write
- baseAssetIssuer ↔ String
-
read / write
- baseAssetType ↔ String
-
read / write
- baseIsSeller ↔ bool
-
read / write
- baseOfferId ↔ String
-
read / write
- counterAccount ↔ KeyPair
-
read / write
- counterAmount ↔ String
-
read / write
- counterAsset → Asset
-
read-only
- counterAssetCode ↔ String
-
read / write
- counterAssetIssuer ↔ String
-
read / write
- counterAssetType ↔ String
-
read / write
- counterOfferId ↔ String
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id ↔ String
-
read / write
- ledgerCloseTime ↔ String
-
read / write
- links ↔ TradeResponseLinks
-
read / write
- offerId ↔ String
-
read / write
- pagingToken ↔ String
-
read / write
- price ↔ Price
-
read / write
- rateLimitLimit ↔ int
-
read / write, inherited
- rateLimitRemaining ↔ int
-
read / write, inherited
- rateLimitReset ↔ int
-
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setHeaders(
Map< String, String> headers) → void -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited