check method

void check()

Implementation

void check() {
  notifyListeners();
  Future.delayed(const Duration(milliseconds: 300), () {
    if (toastQueues.isEmpty) {
      currentToasting = null;
    } else {
      currentToasting = toastQueues.first;
    }
    notifyListeners();
  });
}