toJson method

Map<String, dynamic> toJson()

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,
    };