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,
      'id': id,
      if (instructionPointerReference != null)
        'instructionPointerReference': instructionPointerReference,
      'label': label,
      'line': line,
    };