setHighlightPreTag method
HighlightPreTag
The HTML string to insert before the highlighted parts in all highlight and snippet results.
Usage notes:
- highlightPreTag needs to be used along with
highlightPostTag
.
Source: Learn more
Implementation
AlgoliaSettings setHighlightPreTag(String value) {
assert(value.isNotEmpty);
assert(!_parameters.containsKey('highlightPreTag'));
return _copyWithParameters(<String, dynamic>{'highlightPreTag': value});
}