@override Object toJson() => { if (timeSeriesData != null) 'timeSeriesData': timeSeriesData!.toJson(), };