Product constructor

Product({
  1. String? productId,
  2. double? price,
  3. String? pricePercentageChange24h,
  4. double? volume24h,
  5. String? volumePercentageChange24h,
  6. double? baseIncrement,
  7. double? quoteIncrement,
  8. double? quoteMinSize,
  9. double? quoteMaxSize,
  10. double? baseMinSize,
  11. double? baseMaxSize,
  12. String? baseName,
  13. String? quoteName,
  14. bool? watched,
  15. bool? isDisabled,
  16. bool? isNew,
  17. String? status,
  18. bool? cancelOnly,
  19. bool? limitOnly,
  20. bool? postOnly,
  21. bool? tradingDisabled,
  22. bool? auctionMode,
  23. String? productType,
  24. String? quoteCurrencyId,
  25. String? baseCurrencyId,
  26. Map<String, dynamic>? fcmTradingSessionDetails,
  27. double? midMarketPrice,
  28. String? alias,
  29. List<String>? aliasTo,
  30. String? baseDisplaySymbol,
  31. String? quoteDisplaySymbol,
  32. bool? viewOnly,
  33. double? priceIncrement,
  34. String? displayName,
  35. String? productVenue,
  36. double? approximateQuote24hVolume,
  37. DateTime? newAt,
  38. double? marketCap,
  39. Map<String, dynamic>? futureProductDetails,
  40. Map<String, dynamic>? predictionMarketProductDetails,
})

Implementation

Product({
  this.productId,
  this.price,
  this.pricePercentageChange24h,
  this.volume24h,
  this.volumePercentageChange24h,
  this.baseIncrement,
  this.quoteIncrement,
  this.quoteMinSize,
  this.quoteMaxSize,
  this.baseMinSize,
  this.baseMaxSize,
  this.baseName,
  this.quoteName,
  this.watched,
  this.isDisabled,
  this.isNew,
  this.status,
  this.cancelOnly,
  this.limitOnly,
  this.postOnly,
  this.tradingDisabled,
  this.auctionMode,
  this.productType,
  this.quoteCurrencyId,
  this.baseCurrencyId,
  this.fcmTradingSessionDetails,
  this.midMarketPrice,
  this.alias,
  this.aliasTo,
  this.baseDisplaySymbol,
  this.quoteDisplaySymbol,
  this.viewOnly,
  this.priceIncrement,
  this.displayName,
  this.productVenue,
  this.approximateQuote24hVolume,
  this.newAt,
  this.marketCap,
  this.futureProductDetails,
  this.predictionMarketProductDetails,
});