toJson method
Implementation
Map<String, dynamic> toJson() => {
'breakingChange': breakingChange.toJson(),
'affectedLocations':
affectedLocations.map((e) => e.toJson()).toList(),
if (suggestedFix != null) 'suggestedFix': suggestedFix,
};