autoDismiss static method

void autoDismiss()

Implementation

static void autoDismiss() {
  if (isAutoShow) {
    if (isLoading && overlayEntry != null) {
      overlayEntry?.remove();
      overlayEntry = null;
    }
    isLoading = false;
  } else {
    isAutoShow = false;
  }
}