dismissDialog method

dynamic dismissDialog()

Implementation

dismissDialog() {
  Navigator.of(context, rootNavigator: true).pop(true);
}