setAttributeForDistinct method
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(value != null, 'value can not be empty');
assert(!_parameters.containsKey('attributeForDistinct'));
return _copyWithParameters(
<String, dynamic>{'attributeForDistinct': value});
}