getDialogByIndex static method

DialogShower? getDialogByIndex(
  1. int reverseIndex
)

Implementation

static DialogShower? getDialogByIndex(int reverseIndex) {
  int index = (_list().length - 1) - reverseIndex; // reverse index
  return index >= 0 && index < _list().length ? _list()[index] : null;
}