showToastOops method

void showToastOops({
  1. String? title,
  2. required String description,
})

Displays a Toast message containing "Oops" for the title, you only need to provide a description.

Implementation

void showToastOops({String? title, required String description}) {
  showToast(title: title ?? "Oops", description: description, id: 'danger');
}