ArimaSingleModelForecastingMetrics.fromJson constructor

ArimaSingleModelForecastingMetrics.fromJson(
  1. Map json_
)

Implementation

ArimaSingleModelForecastingMetrics.fromJson(core.Map json_)
    : this(
        arimaFittingMetrics: json_.containsKey('arimaFittingMetrics')
            ? ArimaFittingMetrics.fromJson(json_['arimaFittingMetrics']
                as core.Map<core.String, core.dynamic>)
            : null,
        hasDrift: json_.containsKey('hasDrift')
            ? json_['hasDrift'] as core.bool
            : null,
        hasHolidayEffect: json_.containsKey('hasHolidayEffect')
            ? json_['hasHolidayEffect'] as core.bool
            : null,
        hasSpikesAndDips: json_.containsKey('hasSpikesAndDips')
            ? json_['hasSpikesAndDips'] as core.bool
            : null,
        hasStepChanges: json_.containsKey('hasStepChanges')
            ? json_['hasStepChanges'] as core.bool
            : null,
        nonSeasonalOrder: json_.containsKey('nonSeasonalOrder')
            ? ArimaOrder.fromJson(json_['nonSeasonalOrder']
                as core.Map<core.String, core.dynamic>)
            : null,
        seasonalPeriods: json_.containsKey('seasonalPeriods')
            ? (json_['seasonalPeriods'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        timeSeriesId: json_.containsKey('timeSeriesId')
            ? json_['timeSeriesId'] as core.String
            : null,
        timeSeriesIds: json_.containsKey('timeSeriesIds')
            ? (json_['timeSeriesIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );