hideOrClose method

void hideOrClose()

Implementation

void hideOrClose() {
  if (!mounted) {
    close();
    return;
  }
  hide();
}