dismissNow method

void dismissNow()

Implementation

void dismissNow() {
  if (_isShowing) {
    try {
      _isShowing = false;
      if (Navigator.of(_dismissingContext).canPop()) {
        Navigator.of(_dismissingContext).pop();
      }
    } catch (_) {}
  }
}