CitationReport class
Structured citation verification report for a single bibliography reference.
Constructors
-
CitationReport({String? citationKey, String? entryType, CitationMetadata? extractedMetadata, List<
FieldComparison> ? fieldComparisons, String? finalVerdict, bool? firstAuthorFamilyNameMatch, List<GroundingUrl> ? groundingUrls, String? lookupVerdict, String? rawReference, int? refNum, String? retrievedBibtex, CitationMetadata? retrievedMetadata, String? searchMethod, String? searchRationale, String? searchVerdict}) - CitationReport.fromJson(Map json_)
Properties
- citationKey ↔ String?
-
Generated BibTeX citation key (e.g., "smith2023deep").
getter/setter pair
- entryType ↔ String?
-
BibTeX entry type (e.g., "article", "inproceedings", "misc").
getter/setter pair
- extractedMetadata ↔ CitationMetadata?
-
Metadata parsed from the paper's bibliography entry.
getter/setter pair
-
fieldComparisons
↔ List<
FieldComparison> ? -
Per-field comparisons (populated only when
retrieved_metadatais present).getter/setter pair - finalVerdict ↔ String?
-
Final combined verdict after database lookup and search grounding.
getter/setter pair
- firstAuthorFamilyNameMatch ↔ bool?
-
Whether the first author's family name matched between extracted and
retrieved metadata.
getter/setter pair
-
groundingUrls
↔ List<
GroundingUrl> ? -
Web sources surfaced during Google Search grounding.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lookupVerdict ↔ String?
-
Verdict from scholarly database lookup (OpenAlex / Crossref) before search
grounding.
getter/setter pair
- rawReference ↔ String?
-
Verbatim reference string extracted from the paper's bibliography.
getter/setter pair
- refNum ↔ int?
-
1-indexed bibliography reference number in the paper.
getter/setter pair
- retrievedBibtex ↔ String?
-
Formatted BibTeX entry for the verified
retrieved_metadatawhen present.getter/setter pair - retrievedMetadata ↔ CitationMetadata?
-
Metadata retrieved from OpenAlex / Crossref.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchMethod ↔ String?
-
Strategy that produced the scholarly database match (e.g., "doi", "title",
"title_author", "autocomplete").
getter/setter pair
- searchRationale ↔ String?
-
Explanation from the Google Search grounding verification step (when run).
getter/setter pair
- searchVerdict ↔ String?
-
Verdict from Google Search grounding verification (when run).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited