toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'suiteName': suiteName,
  'suiteKind': suiteKind.name,
  'analyzedRunCount': analyzedRunCount,
  'graduationCandidates': graduationCandidates
      .map((g) => g.toJson())
      .toList(),
  'brokenTaskCandidates': brokenTaskCandidates
      .map((b) => b.toJson())
      .toList(),
  'currentSaturationRatio': currentSaturationRatio,
  'currentlySaturated': currentlySaturated,
  'difficultyHistogram': difficultyHistogram,
};