setAttributeForDistinct method

AlgoliaQuery setAttributeForDistinct(
  1. String value
)

attributeForDistinct

Name of the de-duplication attribute to be used with the distinct feature.

TODO: Add documention. Source: Learn more

Implementation

AlgoliaQuery setAttributeForDistinct(String value) {
  assert(!_parameters.containsKey('attributeForDistinct'));
  return _copyWithParameters(
      <String, dynamic>{'attributeForDistinct': value});
}