clearLast method
void
clearLast()
Clear the last (most recent) toastr
Implementation
void clearLast() {
if (_activeToastrs.isNotEmpty) {
final lastKey = _activeToastrs.keys.last;
final entry = _activeToastrs.remove(lastKey);
entry?.remove();
}
}