Commit Graph

1 Commits

Author SHA1 Message Date
hunteraraujo
3b710b3c7c Add TaskResponse model to encapsulate tasks and pagination data
This commit introduces a new class called TaskResponse, which holds both the tasks and pagination information returned from the API. The class includes a factory constructor to create an instance from JSON data, ensuring that the API response is neatly packaged into an easily manageable object. This enhances code readability and maintainability.

- Create a TaskResponse class with tasks and pagination fields
- Add a factory constructor for JSON to TaskResponse conversion
2023-09-02 15:06:23 -07:00