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,
      if (id != null) 'id': id,
      if (instructionReference != null)
        'instructionReference': instructionReference,
      if (line != null) 'line': line,
      if (message != null) 'message': message,
      if (offset != null) 'offset': offset,
      if (source != null) 'source': source,
      'verified': verified,
    };