setHighlightPostTag method

AlgoliaQuery setHighlightPostTag(
  1. String value
)

HighlightPostTag

The HTML string to insert after the highlighted parts in all highlight and snippet results

Usage notes:

  • highlightPostTag needs to be used along with highlightPreTag.

Source: Learn more

Implementation

AlgoliaQuery setHighlightPostTag(String value) {
  assert(value.isNotEmpty, 'value can not be empty');
  assert(!_parameters.containsKey('highlightPostTag'));
  return _copyWithParameters(<String, dynamic>{'highlightPostTag': value});
}