toJson method

Map<String, dynamic> toJson()

Implementation

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