hide method

void hide()

Implementation

void hide() {
  if (expired) return;

  expired = true;

  Navigator.pop(context);
}