toJson method
Implementation
Map<String, dynamic> toJson() => {
'type': chartTypeToString(type),
'status': status,
'isValid': isValid,
'title': title,
'compactMessage': compactMessage,
'counts': counts,
'maxIssues': normalizedMaxIssues,
'hasMoreIssues': hasMoreIssues,
'issues': visibleReportIssues
.map((issue) => issue.toJson())
.toList(growable: false),
'suggestions': suggestions,
};