isIdle property

bool get isIdle

Whether this group contains no futures.

A FutureGroup is idle when it contains no futures, which is the case for a newly created group or one where all added futures have been removed or completed.

Implementation

bool get isIdle => _pending == 0;