findOneById method

Task findOneById(
  1. int taskId
)

Implementation

Task findOneById(int taskId) {
  return _taskRepository?.findEntityById(taskId) as Task;
}