WSTrade constructor

const WSTrade({
  1. required String code,
  2. required double trade_price,
  3. required double trade_volume,
  4. required AskBid ask_bid,
  5. required double prev_closing_price,
  6. required Change change,
  7. required double change_price,
  8. required String trade_date,
  9. required String trade_time,
  10. required int trade_timestamp,
  11. required int timestamp,
  12. required int sequential_id,
  13. required StreamType stream_type,
})

Implementation

const WSTrade({
  required String code,
  required this.trade_price,
  required this.trade_volume,
  required this.ask_bid,
  required this.prev_closing_price,
  required this.change,
  required this.change_price,
  required this.trade_date,
  required this.trade_time,
  required this.trade_timestamp,
  required this.timestamp,
  required this.sequential_id,
  required this.stream_type,
}): super(type: Type.TRADE, code: code);