addToSet method
Adds elements to an array only if they do not already exist in the set.
Implementation
ModifierBuilder addToSet(String fieldName, value) {
_updateOperation('\$addToSet', fieldName, value);
return this;
}
Adds elements to an array only if they do not already exist in the set.
ModifierBuilder addToSet(String fieldName, value) {
_updateOperation('\$addToSet', fieldName, value);
return this;
}