close static method

void close(
  1. PlaybookSession session
)

Ends a run started with open and removes its overlay.

Implementation

static void close(PlaybookSession session) {
  session.overlay?.detach();
  if (identical(_active, session)) _active = null;
}