FutureRealTimeTickMessage constructor

FutureRealTimeTickMessage({
  1. String? code,
  2. String? dateTime,
  3. double? open,
  4. double? underlyingPrice,
  5. Int64? bidSideTotalVol,
  6. Int64? askSideTotalVol,
  7. double? avgPrice,
  8. double? close,
  9. double? high,
  10. double? low,
  11. double? amount,
  12. double? totalAmount,
  13. Int64? volume,
  14. Int64? totalVolume,
  15. Int64? tickType,
  16. Int64? chgType,
  17. double? priceChg,
  18. double? pctChg,
  19. bool? simtrade,
})

Implementation

factory FutureRealTimeTickMessage({
  $core.String? code,
  $core.String? dateTime,
  $core.double? open,
  $core.double? underlyingPrice,
  $fixnum.Int64? bidSideTotalVol,
  $fixnum.Int64? askSideTotalVol,
  $core.double? avgPrice,
  $core.double? close,
  $core.double? high,
  $core.double? low,
  $core.double? amount,
  $core.double? totalAmount,
  $fixnum.Int64? volume,
  $fixnum.Int64? totalVolume,
  $fixnum.Int64? tickType,
  $fixnum.Int64? chgType,
  $core.double? priceChg,
  $core.double? pctChg,
  $core.bool? simtrade,
}) {
  final $result = create();
  if (code != null) {
    $result.code = code;
  }
  if (dateTime != null) {
    $result.dateTime = dateTime;
  }
  if (open != null) {
    $result.open = open;
  }
  if (underlyingPrice != null) {
    $result.underlyingPrice = underlyingPrice;
  }
  if (bidSideTotalVol != null) {
    $result.bidSideTotalVol = bidSideTotalVol;
  }
  if (askSideTotalVol != null) {
    $result.askSideTotalVol = askSideTotalVol;
  }
  if (avgPrice != null) {
    $result.avgPrice = avgPrice;
  }
  if (close != null) {
    $result.close = close;
  }
  if (high != null) {
    $result.high = high;
  }
  if (low != null) {
    $result.low = low;
  }
  if (amount != null) {
    $result.amount = amount;
  }
  if (totalAmount != null) {
    $result.totalAmount = totalAmount;
  }
  if (volume != null) {
    $result.volume = volume;
  }
  if (totalVolume != null) {
    $result.totalVolume = totalVolume;
  }
  if (tickType != null) {
    $result.tickType = tickType;
  }
  if (chgType != null) {
    $result.chgType = chgType;
  }
  if (priceChg != null) {
    $result.priceChg = priceChg;
  }
  if (pctChg != null) {
    $result.pctChg = pctChg;
  }
  if (simtrade != null) {
    $result.simtrade = simtrade;
  }
  return $result;
}