OrderBookResponse class
Represents an order book response received from the horizon server. An order book is a collections of offers for a specific pair of assets. See: Order book documentation
Constructors
-
OrderBookResponse(Asset base, Asset counter, List<
Row> asks, List<Row> bids) -
OrderBookResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
asks
↔ List<
Row> -
getter/setter pair
- base ↔ Asset
-
getter/setter pair
-
bids
↔ List<
Row> -
getter/setter pair
- counter ↔ Asset
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- rateLimitLimit ↔ int?
-
getter/setter pairinherited
- rateLimitRemaining ↔ int?
-
getter/setter pairinherited
- rateLimitReset ↔ int?
-
getter/setter pairinherited
- 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
-
setHeaders(
Map< String, String> headers) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited