clearLast method
void
clearLast()
Clear the last (most recent) toastr
Implementation
void clearLast() {
if (_activeToasts.isNotEmpty) {
final last = _activeToasts.last;
removeToast(last.id);
}
}
Clear the last (most recent) toastr
void clearLast() {
if (_activeToasts.isNotEmpty) {
final last = _activeToasts.last;
removeToast(last.id);
}
}