SearchResult class
Search result containing a setting and its match score.
Constructors
- SearchResult({required SettingDefinition setting, required double score, required String matchedTerm, String? matchedLocale})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- matchedLocale → String?
-
The locale where the match was found.
final
- matchedTerm → String
-
The matched term (for highlighting).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double
-
Match score (higher = better match).
final
- setting → SettingDefinition
-
The matched setting definition.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited