ArimaCoefficients.fromJson constructor

ArimaCoefficients.fromJson(
  1. Map json_
)

Implementation

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