TradeIndex constructor

TradeIndex({
  1. IndexStatus? tse,
  2. IndexStatus? otc,
  3. IndexStatus? nasdaq,
  4. IndexStatus? nf,
})

Implementation

factory TradeIndex({
  IndexStatus? tse,
  IndexStatus? otc,
  IndexStatus? nasdaq,
  IndexStatus? nf,
}) {
  final $result = create();
  if (tse != null) {
    $result.tse = tse;
  }
  if (otc != null) {
    $result.otc = otc;
  }
  if (nasdaq != null) {
    $result.nasdaq = nasdaq;
  }
  if (nf != null) {
    $result.nf = nf;
  }
  return $result;
}