Update Task Model to Use String IDs

This commit updates the Task model to use string-based identifiers (id) instead of integers. The change aligns the model with the backend service, which uses string-based UUIDs for task identification.
This commit is contained in:
hunteraraujo
2023-08-31 14:43:01 -07:00
parent 43593d849d
commit 1c862be18a

View File

@@ -1,6 +1,6 @@
/// Represents a task or topic the user wants to discuss with the agent.
class Task {
final int id;
final String id;
String _title;
Task({required this.id, required String title})