MarketData class

Market data wrapper

Constructors

MarketData(String coinId, {double? currentPrice, double? marketCap, double? totalVolume, double? ath, double? athChangePercentage, DateTime? athDate, double? atl, double? atlChangePercentage, DateTime? atlDate, double? fullyDilutedValuation, double? high24h, double? low24h, double? priceChange24hInCurrency, double? priceChangePercentage1hInCurrency, double? priceChangePercentage24hInCurrency, double? priceChangePercentage7dInCurrency, double? priceChangePercentage14dInCurrency, double? priceChangePercentage30dInCurrency, double? priceChangePercentage60dInCurrency, double? priceChangePercentage200dInCurrency, double? priceChangePercentage1yInCurrency, double? marketCapChange24hInCurrency, double? marketCapChangePercentage24hInCurrency})

Properties

ath double?
All Time High
getter/setter pair
athChangePercentage double?
All Time High change percentage
getter/setter pair
athDate DateTime?
All Time High date
getter/setter pair
atl double?
All Time Low
getter/setter pair
atlChangePercentage double?
All Time Low change percentage
getter/setter pair
atlDate DateTime?
All Time Low date
getter/setter pair
coinId String
Coin identifier
final
currentPrice double?
Current price
getter/setter pair
fullyDilutedValuation double?
Fully Diluted Valuation
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
high24h double?
High in 24 hours
getter/setter pair
low24h double?
Low in 24 hours
getter/setter pair
marketCap double?
Market capitalization
getter/setter pair
marketCapChange24hInCurrency double?
Market capitalization change in currency in 24 hours
getter/setter pair
marketCapChangePercentage24hInCurrency double?
Market capitalization change percentage in currency in 24 hours
getter/setter pair
priceChange24hInCurrency double?
Price change in currency in 24 hours
getter/setter pair
priceChangePercentage1hInCurrency double?
Price change percentage in currency in 1 hour
getter/setter pair
priceChangePercentage1yInCurrency double?
Price change percentage in currency in 1 year
getter/setter pair
priceChangePercentage7dInCurrency double?
Price change percentage in currency in 7 days
getter/setter pair
priceChangePercentage14dInCurrency double?
Price change percentage in currency in 14 days
getter/setter pair
priceChangePercentage24hInCurrency double?
Price change percentage in currency in 24 hours
getter/setter pair
priceChangePercentage30dInCurrency double?
Price change percentage in currency in 30 days
getter/setter pair
priceChangePercentage60dInCurrency double?
Price change percentage in currency in 60 days
getter/setter pair
priceChangePercentage200dInCurrency double?
Price change percentage in currency in 200 days
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalVolume double?
Total volume
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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