toJson method
Implementation
Map<String, Object?> toJson() => {
if (column != null) 'column': column,
if (endColumn != null) 'endColumn': endColumn,
if (endLine != null) 'endLine': endLine,
'line': line,
'source': source,
};