Map<String, Object?> toJson() { return { _uriKey: uri, if (line != null) _lineKey: line, if (line != null) _columnKey: column, }; }