close method

void close()

Implementation

void close() {
  if (!isOpened) return;
  assert(overlayEntry != null);
  overlayEntry!.remove();
  isOpened = false;
}