WSTrade constructor
const
WSTrade({
- required String code,
- required double trade_price,
- required double trade_volume,
- required AskBid ask_bid,
- required double prev_closing_price,
- required Change change,
- required double change_price,
- required String trade_date,
- required String trade_time,
- required int trade_timestamp,
- required int timestamp,
- required int sequential_id,
- 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);