MarketData constructor

MarketData({
  1. Map<String, double> currentPrice,
  2. dynamic roi,
  3. Map<String, double> ath,
  4. Map<String, double> athChangePercentage,
  5. Map<String, DateTime> athDate,
  6. Map<String, double> atl,
  7. Map<String, double> atlChangePercentage,
  8. Map<String, DateTime> atlDate,
  9. Map<String, double> marketCap,
  10. int marketCapRank,
  11. FullyDilutedValuation fullyDilutedValuation,
  12. Map<String, double> totalVolume,
  13. Map<String, double> high24H,
  14. Map<String, double> low24H,
  15. double priceChange24H,
  16. double priceChangePercentage24H,
  17. double priceChangePercentage7D,
  18. double priceChangePercentage14D,
  19. double priceChangePercentage30D,
  20. double priceChangePercentage60D,
  21. double priceChangePercentage200D,
  22. double priceChangePercentage1Y,
  23. double marketCapChange24H,
  24. double marketCapChangePercentage24H,
  25. Map<String, double> priceChange24HInCurrency,
  26. Map<String, double> priceChangePercentage1HInCurrency,
  27. Map<String, double> priceChangePercentage24HInCurrency,
  28. Map<String, double> priceChangePercentage7DInCurrency,
  29. Map<String, double> priceChangePercentage14DInCurrency,
  30. Map<String, double> priceChangePercentage30DInCurrency,
  31. Map<String, double> priceChangePercentage60DInCurrency,
  32. Map<String, double> priceChangePercentage200DInCurrency,
  33. FullyDilutedValuation priceChangePercentage1YInCurrency,
  34. Map<String, double> marketCapChange24HInCurrency,
  35. Map<String, double> marketCapChangePercentage24HInCurrency,
  36. dynamic totalSupply,
  37. dynamic maxSupply,
  38. double circulatingSupply,
  39. DateTime lastUpdated,
})

Implementation

MarketData({
  this.currentPrice,
  this.roi,
  this.ath,
  this.athChangePercentage,
  this.athDate,
  this.atl,
  this.atlChangePercentage,
  this.atlDate,
  this.marketCap,
  this.marketCapRank,
  this.fullyDilutedValuation,
  this.totalVolume,
  this.high24H,
  this.low24H,
  this.priceChange24H,
  this.priceChangePercentage24H,
  this.priceChangePercentage7D,
  this.priceChangePercentage14D,
  this.priceChangePercentage30D,
  this.priceChangePercentage60D,
  this.priceChangePercentage200D,
  this.priceChangePercentage1Y,
  this.marketCapChange24H,
  this.marketCapChangePercentage24H,
  this.priceChange24HInCurrency,
  this.priceChangePercentage1HInCurrency,
  this.priceChangePercentage24HInCurrency,
  this.priceChangePercentage7DInCurrency,
  this.priceChangePercentage14DInCurrency,
  this.priceChangePercentage30DInCurrency,
  this.priceChangePercentage60DInCurrency,
  this.priceChangePercentage200DInCurrency,
  this.priceChangePercentage1YInCurrency,
  this.marketCapChange24HInCurrency,
  this.marketCapChangePercentage24HInCurrency,
  this.totalSupply,
  this.maxSupply,
  this.circulatingSupply,
  this.lastUpdated,
});