showAlert If true, an alert must be shown to the user instead of a toast notification
final bool showAlert;