getHighlights method - Suggestion class - search library - Dart API
getHighlights
getHighlights abstract method
The text slices matching the input query.
Returns Map<HighlightType, List<IndexRange>>. Associated container where HighlightType is a key and list of IndexRange value.
Implementation
Map<HighlightType, List<IndexRange>> getHighlights();