AssetResponse class
Represents an asset response from the horizon server. Assets are representations of value issued on the Stellar network. An asset consists of a type, code, and issuer. See: Assets documentation.
Constructors
- AssetResponse(String assetType, String assetCode, String assetIssuer, AssetAccounts accounts, int numClaimableBalances, AssetBalances balances, String claimableBalancesAmount, String pagingToken, String amount, int numAccounts, int numLiquidityPools, String liquidityPoolsAmount, Flags flags, AssetResponseLinks links, {int? numContracts, String? contractsAmount, int? numArchivedContracts, String? archivedContractsAmount})
-
AssetResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accounts ↔ AssetAccounts
-
getter/setter pair
- amount ↔ String
-
getter/setter pair
- archivedContractsAmount ↔ String?
-
getter/setter pair
- asset → Asset
-
no setter
- assetCode ↔ String
-
getter/setter pair
- assetIssuer ↔ String
-
getter/setter pair
- assetType ↔ String
-
getter/setter pair
- balances ↔ AssetBalances
-
getter/setter pair
- claimableBalancesAmount ↔ String
-
getter/setter pair
- contractsAmount ↔ String?
-
getter/setter pair
- flags ↔ Flags
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- links ↔ AssetResponseLinks
-
getter/setter pair
- liquidityPoolsAmount ↔ String
-
getter/setter pair
- numAccounts ↔ int
-
getter/setter pair
- numArchivedContracts ↔ int?
-
getter/setter pair
- numClaimableBalances ↔ int
-
getter/setter pair
- numContracts ↔ int?
-
getter/setter pair
- numLiquidityPools ↔ int
-
getter/setter pair
- pagingToken ↔ String
-
getter/setter pair
- 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