hasIdleTask property

bool get hasIdleTask

Returns true if this collection has an idle task.

Implementation

bool get hasIdleTask => where((t) => t.isIdle).isNotEmpty;