toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (arimaFittingMetrics != null)
        'arimaFittingMetrics': arimaFittingMetrics!,
      if (arimaSingleModelForecastingMetrics != null)
        'arimaSingleModelForecastingMetrics':
            arimaSingleModelForecastingMetrics!,
      if (hasDrift != null) 'hasDrift': hasDrift!,
      if (nonSeasonalOrder != null) 'nonSeasonalOrder': nonSeasonalOrder!,
      if (seasonalPeriods != null) 'seasonalPeriods': seasonalPeriods!,
      if (timeSeriesId != null) 'timeSeriesId': timeSeriesId!,
    };