WSTicker class

Inheritance

Constructors

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})
const
WSTicker.fromJson(Map<String, dynamic> json)
factory

Properties

acc_ask_volume double
final
acc_bid_volume double
final
acc_trade_price double
final
acc_trade_price_24h double
final
acc_trade_volume double
final
acc_trade_volume_24h double
final
ask_bid AskBid
final
change Change
final
change_price double
final
change_rate double
final
code String
finalinherited
delisting_date DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
high_price double
final
highest_52_week_date String
final
highest_52_week_price double
final
is_trading_suspended bool
final
low_price double
final
lowest_52_week_date String
final
lowest_52_week_price double
final
market_state MarketState
final
market_warning MarketWarning
final
opening_price double
final
prev_closing_price double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signed_change_price double
final
signed_change_rate double
final
stream_type StreamType
final
timestamp int
final
trade_date String
final
trade_price double
final
trade_time String
final
trade_timestamp int
final
trade_volume double
final
type Type
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited