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