TradeResponseLinks class
Hypermedia links related to this trade response.
Contains links to related resources following the HAL (Hypertext Application Language) specification, enabling navigation through the Horizon API.
Constructors
- TradeResponseLinks(Link base, Link counter, Link operation)
- Creates a TradeResponseLinks from Horizon API data.
-
TradeResponseLinks.fromJson(Map<
String, dynamic> json) -
Constructs TradeResponseLinks from JSON returned by Horizon API.
factory
Properties
- base ↔ Link
-
Link to the base account or liquidity pool involved in this trade.
getter/setter pair
- counter ↔ Link
-
Link to the counter account or liquidity pool involved in this trade.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- operation ↔ Link
-
Link to the operation that triggered this trade.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited