isExistQueueFuture method

bool isExistQueueFuture(
  1. String tag
)

Check if the tag is in the queue if it active, it will be removed from the queue and return false but it exist in the active items

Implementation

bool isExistQueueFuture(String tag) {
  return _nextCycle.list.where((item) => item.tag == tag).isNotEmpty;
}