StockVolumeRankMessage constructor

StockVolumeRankMessage({
  1. String? date,
  2. String? code,
  3. String? name,
  4. Int64? ts,
  5. double? open,
  6. double? high,
  7. double? low,
  8. double? close,
  9. double? priceRange,
  10. Int64? tickType,
  11. double? changePrice,
  12. Int64? changeType,
  13. double? averagePrice,
  14. Int64? volume,
  15. Int64? totalVolume,
  16. Int64? amount,
  17. Int64? totalAmount,
  18. Int64? yesterdayVolume,
  19. double? volumeRatio,
  20. double? buyPrice,
  21. Int64? buyVolume,
  22. double? sellPrice,
  23. Int64? sellVolume,
  24. Int64? bidOrders,
  25. Int64? bidVolumes,
  26. Int64? askOrders,
  27. Int64? askVolumes,
})

Implementation

factory StockVolumeRankMessage({
  $core.String? date,
  $core.String? code,
  $core.String? name,
  $fixnum.Int64? ts,
  $core.double? open,
  $core.double? high,
  $core.double? low,
  $core.double? close,
  $core.double? priceRange,
  $fixnum.Int64? tickType,
  $core.double? changePrice,
  $fixnum.Int64? changeType,
  $core.double? averagePrice,
  $fixnum.Int64? volume,
  $fixnum.Int64? totalVolume,
  $fixnum.Int64? amount,
  $fixnum.Int64? totalAmount,
  $fixnum.Int64? yesterdayVolume,
  $core.double? volumeRatio,
  $core.double? buyPrice,
  $fixnum.Int64? buyVolume,
  $core.double? sellPrice,
  $fixnum.Int64? sellVolume,
  $fixnum.Int64? bidOrders,
  $fixnum.Int64? bidVolumes,
  $fixnum.Int64? askOrders,
  $fixnum.Int64? askVolumes,
}) {
  final $result = create();
  if (date != null) {
    $result.date = date;
  }
  if (code != null) {
    $result.code = code;
  }
  if (name != null) {
    $result.name = name;
  }
  if (ts != null) {
    $result.ts = ts;
  }
  if (open != null) {
    $result.open = open;
  }
  if (high != null) {
    $result.high = high;
  }
  if (low != null) {
    $result.low = low;
  }
  if (close != null) {
    $result.close = close;
  }
  if (priceRange != null) {
    $result.priceRange = priceRange;
  }
  if (tickType != null) {
    $result.tickType = tickType;
  }
  if (changePrice != null) {
    $result.changePrice = changePrice;
  }
  if (changeType != null) {
    $result.changeType = changeType;
  }
  if (averagePrice != null) {
    $result.averagePrice = averagePrice;
  }
  if (volume != null) {
    $result.volume = volume;
  }
  if (totalVolume != null) {
    $result.totalVolume = totalVolume;
  }
  if (amount != null) {
    $result.amount = amount;
  }
  if (totalAmount != null) {
    $result.totalAmount = totalAmount;
  }
  if (yesterdayVolume != null) {
    $result.yesterdayVolume = yesterdayVolume;
  }
  if (volumeRatio != null) {
    $result.volumeRatio = volumeRatio;
  }
  if (buyPrice != null) {
    $result.buyPrice = buyPrice;
  }
  if (buyVolume != null) {
    $result.buyVolume = buyVolume;
  }
  if (sellPrice != null) {
    $result.sellPrice = sellPrice;
  }
  if (sellVolume != null) {
    $result.sellVolume = sellVolume;
  }
  if (bidOrders != null) {
    $result.bidOrders = bidOrders;
  }
  if (bidVolumes != null) {
    $result.bidVolumes = bidVolumes;
  }
  if (askOrders != null) {
    $result.askOrders = askOrders;
  }
  if (askVolumes != null) {
    $result.askVolumes = askVolumes;
  }
  return $result;
}