WSTrade class

Inheritance

Constructors

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

Properties

ask_bid AskBid
final
change Change
final
change_price double
final
code String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
prev_closing_price double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequential_id int
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