dismiss static method

dynamic dismiss()

Implementation

static dismiss() async {
  if (!_isVisible) {
    return;
  }
  _isVisible = false;
  _overlayEntry?.remove();
}