removeQueuedCustomToasts method

void removeQueuedCustomToasts()

Toaster maintains a queue for every toast if we called showToast for 3 times we all to queue and show them one after another

call removeCustomToast to hide the toast immediately

Implementation

void removeQueuedCustomToasts() {
  _timer?.cancel();
  _timer = null;
  _overlayQueue.clear();
  if (_entry != null) _entry!.remove();
  _entry = null;
}