refactor: Projektstruktur in app/ und backend/ aufgeteilt

This commit is contained in:
2026-03-24 15:06:44 +01:00
parent 5f5d5995c5
commit 2673ef658d
449 changed files with 28551 additions and 167 deletions

View File

@@ -0,0 +1,20 @@
/// Represents a translated remark in a specific language
class RemarkTranslation {
final String language;
final String text;
RemarkTranslation({required this.language, required this.text});
factory RemarkTranslation.fromJson(Map<String, dynamic> json) {
return RemarkTranslation(language: json['language']?.toString() ?? '', text: json['text']?.toString() ?? '');
}
Map<String, dynamic> toJson() {
return {'language': language, 'text': text};
}
@override
String toString() {
return 'RemarkTranslation(language: $language, text: $text)';
}
}