popLast method

ModifierBuilder popLast(
  1. String fieldName
)

The popLast operator removes the last element of an array.

Implementation

ModifierBuilder popLast(String fieldName) {
  _updateOperation('\$pop', fieldName, 1);
  return this;
}