Keyword class

Extracted keyword with metadata.

Constructors

Keyword({required String text, required double score, required KeywordAlgorithm algorithm, Int64List? positions})
const

Properties

algorithm → KeywordAlgorithm
Algorithm that extracted this keyword.
final
hashCode → int
The hash code for this object.
no setteroverride
positions → Int64List?
Optional positions where keyword appears in text (character offsets).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score → double
Relevance score (higher is better, algorithm-specific range).
final
text → String
The keyword text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override