taskById method
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);
}