MarketData class
A class representing market data for a specific cryptocurrency.
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})
- Constructs a MarketData instance.
Properties
- ath ↔ double?
- 
  The all-time high price of the coin.
  getter/setter pair
- athChangePercentage ↔ double?
- 
  The percentage change from the all-time high price.
  getter/setter pair
- athDate ↔ DateTime?
- 
  The date when the all-time high price was reached.
  getter/setter pair
- atl ↔ double?
- 
  The all-time low price of the coin.
  getter/setter pair
- atlChangePercentage ↔ double?
- 
  The percentage change from the all-time low price.
  getter/setter pair
- atlDate ↔ DateTime?
- 
  The date when the all-time low price was reached.
  getter/setter pair
- coinId → String
- 
  The identifier of the coin.
  final
- currentPrice ↔ double?
- 
  The current price of the coin.
  getter/setter pair
- fullyDilutedValuation ↔ double?
- 
  The fully diluted valuation of the coin.
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- high24h ↔ double?
- 
  The highest price of the coin in the last 24 hours.
  getter/setter pair
- low24h ↔ double?
- 
  The lowest price of the coin in the last 24 hours.
  getter/setter pair
- marketCap ↔ double?
- 
  The market capitalization of the coin.
  getter/setter pair
- marketCapChange24hInCurrency ↔ double?
- 
  The market capitalization change of the coin in the last 24 hours.
  getter/setter pair
- marketCapChangePercentage24hInCurrency ↔ double?
- 
  The percentage market capitalization change of the coin in the last 24 hours.
  getter/setter pair
- priceChange24hInCurrency ↔ double?
- 
  The price change of the coin in the last 24 hours.
  getter/setter pair
- priceChangePercentage14dInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 14 days.
  getter/setter pair
- priceChangePercentage1hInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 1 hour.
  getter/setter pair
- priceChangePercentage1yInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 1 year.
  getter/setter pair
- priceChangePercentage200dInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 200 days.
  getter/setter pair
- priceChangePercentage24hInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 24 hours.
  getter/setter pair
- priceChangePercentage30dInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 30 days.
  getter/setter pair
- priceChangePercentage60dInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 60 days.
  getter/setter pair
- priceChangePercentage7dInCurrency ↔ double?
- 
  The percentage price change of the coin in the last 7 days.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- totalVolume ↔ double?
- 
  The total volume of the coin traded.
  getter/setter pair
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  Returns a string representation of the MarketData instance.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited