toJson method

Map<String, dynamic> toJson()

Implementation

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