popFirst method
The popFirst operator removes the first element of an array.
Implementation
ModifierBuilder popFirst(String fieldName) {
_updateOperation('\$pop', fieldName, -1);
return this;
}
The popFirst operator removes the first element of an array.
ModifierBuilder popFirst(String fieldName) {
_updateOperation('\$pop', fieldName, -1);
return this;
}