toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'title': title,
    'description': description,
    'suggestion': suggestion,
    'category': category,
    'file': file,
    'line': line,
    'severity': severity.name,
  };
}