closeToast method

bool closeToast()

Implementation

bool closeToast() {
  final value = _toast?.removeEntry() ?? false;
  _toast = null;
  return value;
}