Market class

Market data wrapper class that holds various market-related information.

Constructors

Market.fromJson(Map<String, dynamic> json)
Constructs a Market instance from a JSON map.

Properties

ath → double?
All Time High price.
final
athChangePercentage → double?
All Time High change percentage.
final
athDate → DateTime?
Date of All Time High.
final
atl → double?
All Time Low price.
final
atlChangePercentage → double?
All Time Low change percentage.
final
atlDate → DateTime?
Date of All Time Low.
final
circulatingSupply → double?
Circulating supply of the market.
final
currentPrice → double?
Current price of the market.
final
fullyDilutedValuation → double?
Fully Diluted Valuation.
final
hashCode → int
The hash code for this object.
no setterinherited
high24h → double?
Highest price in the last 24 hours.
final
id → String
Market identifier.
final
image → String?
Market image URL.
final
lastUpdated → DateTime?
The moment at which the data was updated.
final
low24h → double?
Lowest price in the last 24 hours.
final
marketCap → double?
Market capitalization.
final
marketCapChange24h → double?
Market capitalization change in the last 24 hours.
final
marketCapChangePercentage24h → double?
Market capitalization change percentage in the last 24 hours.
final
marketCapRank → int?
Market capitalization rank.
final
maxSupply → double?
Maximum supply of the market.
final
name → String
Market name.
final
priceChange24h → double?
Price change in the last 24 hours.
final
priceChangePercentage14dInCurrency → double?
Price change percentage in currency in the last 14 days.
final
priceChangePercentage1hInCurrency → double?
Price change percentage in currency in the last 1 hour.
final
priceChangePercentage1yInCurrency → double?
Price change percentage in currency in the last 1 year.
final
priceChangePercentage200dInCurrency → double?
Price change percentage in currency in the last 200 days.
final
priceChangePercentage24h → double?
Price change percentage in the last 24 hours.
final
priceChangePercentage24hInCurrency → double?
Price change percentage in currency in the last 24 hours.
final
priceChangePercentage30dInCurrency → double?
Price change percentage in currency in the last 30 days.
final
priceChangePercentage7dInCurrency → double?
Price change percentage in currency in the last 7 days.
final
roi → double?
Return On Investment (profitability or efficiency of investment).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sparklineIn7d → MarketSparkline?
Sparkline data for the last 7 days.
final
symbol → String
Market symbol.
final
totalSupply → double?
Total supply of the market.
final
totalVolume → double?
Total volume of the market.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Returns a string representation of the Market instance.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited