getDefaultNormalizer function

NormalizerFn Function([NormalizerOptions]) getDefaultNormalizer(
  1. [NormalizerOptions options]

The default "normalizer" used to normalize the string query value provided to a query by trimming whitespace from the start and end of text, and collapsing multiple adjacent whitespace characters into a single space.



NormalizerFn Function([NormalizerOptions]) getDefaultNormalizer([NormalizerOptions options]) {
  return _jsGetDefaultNormalizer(NormalizerOptions()
    ..trim = options?.trim ?? true
    ..collapseWhitespace = options?.collapseWhitespace ?? true);