@override Object toJson() => { if (timeSeriesData.isNotDefault) 'timeSeriesData': [for (final i in timeSeriesData) i.toJson()], };