AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Add SkillTreeEdge data model for skill tree
hunteraraujoe16e48f893f0
diff --git a/frontend/lib/models/skill_tree/skill_tree_edge.dart b/frontend/lib/models/skill_tree/skill_tree_edge.dartnew file mode 100644index 0000000000..4b7abd5067--- /dev/null+++ b/frontend/lib/models/skill_tree/skill_tree_edge.dart@@ -0,0 +1,23 @@+class SkillTreeEdge {+ final String id;+ final String from;+ final String to;+ final String arrows;++ SkillTreeEdge({+ required this.id,+ required this.from,+ required this.to,+ required this.arrows,+ });++ // Optionally, add a factory constructor to initialize from JSON+ factory SkillTreeEdge.fromJson(Map<String, dynamic> json) {+ return SkillTreeEdge(+ id: json['id'],+ from: json['from'],+ to: json['to'],+ arrows: json['arrows'],+ );+ }+}