WSTicker constructor
const
WSTicker({
- required String code,
- required double opening_price,
- required double high_price,
- required double low_price,
- required double trade_price,
- required double prev_closing_price,
- required Change change,
- required double change_price,
- required double signed_change_price,
- required double change_rate,
- required double signed_change_rate,
- required double trade_volume,
- required double acc_trade_volume,
- required double acc_trade_volume_24h,
- required double acc_trade_price,
- required double acc_trade_price_24h,
- required String trade_date,
- required String trade_time,
- required int trade_timestamp,
- required AskBid ask_bid,
- required double acc_ask_volume,
- required double acc_bid_volume,
- required double highest_52_week_price,
- required String highest_52_week_date,
- required double lowest_52_week_price,
- required String lowest_52_week_date,
- required MarketState market_state,
- required bool is_trading_suspended,
- DateTime? delisting_date,
- required MarketWarning market_warning,
- required int timestamp,
- required StreamType stream_type,
Implementation
const WSTicker({
required String code,
required this.opening_price,
required this.high_price,
required this.low_price,
required this.trade_price,
required this.prev_closing_price,
required this.change,
required this.change_price,
required this.signed_change_price,
required this.change_rate,
required this.signed_change_rate,
required this.trade_volume,
required this.acc_trade_volume,
required this.acc_trade_volume_24h,
required this.acc_trade_price,
required this.acc_trade_price_24h,
required this.trade_date,
required this.trade_time,
required this.trade_timestamp,
required this.ask_bid,
required this.acc_ask_volume,
required this.acc_bid_volume,
required this.highest_52_week_price,
required this.highest_52_week_date,
required this.lowest_52_week_price,
required this.lowest_52_week_date,
required this.market_state,
required this.is_trading_suspended,
this.delisting_date,
required this.market_warning,
required this.timestamp,
required this.stream_type,
}): super(type: Type.TICKER, code: code);