removeOverlay method

dynamic removeOverlay()

Implementation

removeOverlay() {
  myLogAll('removeOverlay');
  if (overlayEntry == null) {
    return;
  }
  try {
    overlayEntry?.remove();
    overlayEntry = null;
    // ignore: empty_catches
  } catch (e) {}
  myNotifyListeners();
}