decrementCounter method

void decrementCounter()

Implementation

void decrementCounter() {
  if (_counter! > 0) {
    _counter = _counter! - 1;
    _indices.removeLast();
  }
}