ArimaCoefficients.fromJson constructor

ArimaCoefficients.fromJson(
  1. Map json_
)

Implementation

ArimaCoefficients.fromJson(core.Map json_)
    : this(
        autoRegressiveCoefficients:
            (json_['autoRegressiveCoefficients'] as core.List?)
                ?.map((value) => (value as core.num).toDouble())
                .toList(),
        interceptCoefficient:
            (json_['interceptCoefficient'] as core.num?)?.toDouble(),
        movingAverageCoefficients:
            (json_['movingAverageCoefficients'] as core.List?)
                ?.map((value) => (value as core.num).toDouble())
                .toList(),
      );