ErrorMetric.fromJson constructor

ErrorMetric.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ErrorMetric.fromJson(Map<String, dynamic> json) {
  return ErrorMetric(
    forecastType: json['ForecastType'] as String?,
    rmse: json['RMSE'] as double?,
    wape: json['WAPE'] as double?,
  );
}