hide method

dynamic hide()

Implementation

hide() {
  if (expired) return;

  expired = true;

  Navigator.pop(context);
}