Files
AutoGPT/classic/frontend/lib/models/skill_tree/skill_tree_edge.dart
Swifty ef7cfbb860 refactor: AutoGPT Platform Stealth Launch Repo Re-Org (#8113)
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform:
* Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder
  * Also rename `autogpt` to `original_autogpt` for absolute clarity
* Rename `rnd/` to `autogpt_platform/`
  * `rnd/autogpt_builder` -> `autogpt_platform/frontend`
  * `rnd/autogpt_server` -> `autogpt_platform/backend`
* Adjust any paths accordingly
2024-09-20 16:50:43 +02:00

24 lines
492 B
Dart

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'],
);
}
}