userTaskQueue property

List<UserTask> get userTaskQueue

The queue of UserTasks that the user need to attend to.

Implementation

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