userTaskQueue property

List<UserTask> get userTaskQueue

The UserTasks whose trigger time has passed.

These are the tasks to show to the user. Includes done and expired tasks until they are dequeued.

Implementation

List<UserTask> get userTaskQueue =>
    _userTaskMap.values.where((task) => task.triggerTime.isBefore(DateTime.now())).toList();