delete Account

fun deleteAccount(onDelete: () -> Unit)

Function to execute the account deletion

Parameters

onDelete

: the action to execute when the account has been deleted