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