OfferResponse class
Represents an offer response received from the horizon server. Offers are statements about how much of an asset an account wants to buy or sell. See: Offer documentation
Constructors
-
OfferResponse(String id,
String pagingToken, KeyPair seller, Asset selling, Asset buying, String amount, String price, String sponsor, int lastModifiedLedger, String lastModifiedTime, OfferResponseLinks links ) -
OfferResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount ↔ String
-
read / write
- buying ↔ Asset
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id ↔ String
-
read / write
- lastModifiedLedger ↔ int
-
read / write
- lastModifiedTime ↔ String
-
read / write
- links ↔ OfferResponseLinks
-
read / write
- pagingToken ↔ String
-
read / write
- price ↔ String
-
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
- seller ↔ KeyPair
-
read / write
- selling ↔ Asset
-
read / write
- sponsor ↔ String
-
read / write
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