taskById method

Future<Response<TaskByIdResponse>> taskById({
  1. required int? taskId,
})

Get task by its ID. @param taskId Numeric identifier of the task item specified in URL path.

Implementation

Future<chopper.Response<TaskByIdResponse>> taskById({required int? taskId}) {
  generatedMapping.putIfAbsent(
    TaskByIdResponse,
    () => TaskByIdResponse.fromJsonFactory,
  );

  return _taskById(taskId: taskId);
}