taskPending property

int get taskPending

The number of tasks pending so far.

Implementation

int get taskPending => userTaskQueue
    .where((task) => task.state == UserTaskState.enqueued)
    .length;