toJson method
Implementation
Map<String, dynamic> toJson() => {
'filePath': filePath,
'startLine': startLine,
'startColumn': startColumn,
'endLine': endLine,
'endColumn': endColumn,
'newText': newText,
if (description != null) 'description': description,
};