toJson method

Map<String, Object?> toJson()

Implementation

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