setCamelCaseAttributes method

AlgoliaQuery setCamelCaseAttributes(
  1. List<String> value
)

CamelCaseAttributes

List of attributes on which to do a decomposition of camel case words.

Camel case compounds are basically words glued together, and being able to find a camel case compound when searching for one of its words often makes sense. This setting automatically splits camel case compounds into separate words and allows for example to find 'camelCaseAttributes' when searching for 'case'.

Source: Learn more

Implementation

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