backContextMore method

dynamic backContextMore(
  1. dynamic cnt,
  2. dynamic context
)

Implementation

backContextMore(cnt, context) {
  myLogAll('backContextMore ');
  if (_stackList.isEmpty) {
    clear(context);
    finishme([], context);
    return;
  }
  for (int i = 0; i < cnt; i++) {
    _stackList.removeLast();
    if (_stackList.isEmpty) {
      clear(context);
      finishme([], context);
      return;
    }
  }

  showStackDetail(_context ?? context);
}