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.

Inheritance

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})
AssetResponse.fromJson(Map<String, dynamic> json)
factory

Properties

accounts AssetAccounts
read / write
amount String
read / write
asset Asset
read-only
assetCode String
read / write
assetIssuer String
read / write
assetType String
read / write
balances AssetBalances
read / write
claimableBalancesAmount String
read / write
contractsAmount String?
read / write
flags Flags
read / write
hashCode int
The hash code for this object.
read-onlyinherited
read / write
liquidityPoolsAmount String
read / write
numAccounts int
read / write
numClaimableBalances int
read / write
numContracts int?
read / write
numLiquidityPools int
read / write
pagingToken String
read / write
rateLimitLimit int?
read / writeinherited
rateLimitRemaining int?
read / writeinherited
rateLimitReset int?
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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