HighlightResultOption class final

Annotations
  • @JsonSerializable()

Constructors

HighlightResultOption({required String value, required MatchLevel matchLevel, required List<String> matchedWords, bool? fullyHighlighted})
Returns a new HighlightResultOption instance.
const
HighlightResultOption.fromJson(Map<String, dynamic> json)
factory

Properties

fullyHighlighted bool?
Whether the entire attribute value is highlighted.
final
hashCode int
The hash code for this object.
no setteroverride
matchedWords List<String>
List of matched words from the search query.
final
matchLevel MatchLevel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Highlighted attribute value, including HTML tags.
final

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.
override

Operators

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