core.Map<core.String, core.dynamic> toJson() => { if (timeSeriesData != null) 'timeSeriesData': timeSeriesData!, };