confirmationDeleteAccount method
dynamic
confirmationDeleteAccount()
Implementation
confirmationDeleteAccount() {
return showDialog(
context: Get.context!,
barrierDismissible: false,
builder: (BuildContext context) {
return const DeleteProfilDialog();
}).then((value) {
if (value != null) {
if (value.toString().isNotEmpty) {
deleteAccount(raison: value.toString());
}
}
});
}