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> -
read / write
- base ↔ Asset
-
read / write
-
bids
↔ List<
Row> -
read / write
- counter ↔ Asset
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- 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 -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited