removeCustomToast method

dynamic removeCustomToast()

If any active toast present call removeCustomToast to hide the toast immediately

Implementation

removeCustomToast() {
  _timer?.cancel();
  _fadeTimer?.cancel();
  _timer = null;
  _fadeTimer = null;
  _entry?.remove();
  _entry = null;
  _showOverlay();
}