closeDialog function

void closeDialog()

Implementation

void closeDialog() {
  if (Get.isDialogOpen!) {
    Get.back();
  }
}