AnomalyScore.fromJson constructor

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

Implementation

factory AnomalyScore.fromJson(Map<String, dynamic> json) {
  return AnomalyScore(
    currentScore: json['CurrentScore'] as double,
    maxScore: json['MaxScore'] as double,
  );
}