toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'trade_date_utc': trade_date_utc,
'trade_time_utc': trade_time_utc,
'timestamp': timestamp,
'trade_price': trade_price,
'trade_volume': trade_volume,
'prev_closing_price': prev_closing_price,
'change_price': change_price,
'ask_bid': EnumToString(ask_bid),
'sequential_id': sequential_id,
};
}