toJson method
Implementation
Map<String, dynamic> toJson() => {
'progress': progress,
'startDate': startDate.toString(),
'endDate': endDate.toString(),
'yesterdayPrice': previousClosePrice,
'tradingYears': tradingYears,
'cagr': cagr,
'maxDrawdown': maxDrawdown,
'mar': mar,
'currentDrawdown': currentDrawdown,
'tradesNum': tradesNum,
'endPrice': endPrice,
};