Files
AutoGPT/classic/frontend/lib/models/skill_tree/info.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

20 lines
450 B
Dart

class Info {
final String difficulty;
final String description;
final List<String> sideEffects;
Info({
required this.difficulty,
required this.description,
required this.sideEffects,
});
factory Info.fromJson(Map<String, dynamic> json) {
return Info(
difficulty: json['difficulty'] ?? "",
description: json['description'] ?? "",
sideEffects: List<String>.from(json['side_effects'] ?? []),
);
}
}