dismissDialog method

void dismissDialog()

Implementation

void dismissDialog() {
  if (_dialog != null && _dialog!.isShowing()) {
    _dialog!.dismiss();
  }
}