MarketData constructor

MarketData(
  1. String coinId, {
  2. double? currentPrice,
  3. double? marketCap,
  4. double? totalVolume,
  5. double? ath,
  6. double? athChangePercentage,
  7. DateTime? athDate,
  8. double? atl,
  9. double? atlChangePercentage,
  10. DateTime? atlDate,
  11. double? fullyDilutedValuation,
  12. double? high24h,
  13. double? low24h,
  14. double? priceChange24hInCurrency,
  15. double? priceChangePercentage1hInCurrency,
  16. double? priceChangePercentage24hInCurrency,
  17. double? priceChangePercentage7dInCurrency,
  18. double? priceChangePercentage14dInCurrency,
  19. double? priceChangePercentage30dInCurrency,
  20. double? priceChangePercentage60dInCurrency,
  21. double? priceChangePercentage200dInCurrency,
  22. double? priceChangePercentage1yInCurrency,
  23. double? marketCapChange24hInCurrency,
  24. double? marketCapChangePercentage24hInCurrency,
})

Implementation

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