dismissTopAlert method Null safety

void dismissTopAlert()

Implementation

void dismissTopAlert() {
  if (overlayEntry != null) {
    overlayEntry.remove();
  }
}