WT1.1.18+8 repeats MAX

This commit is contained in:
bossanyit
2021-06-07 17:28:25 +02:00
parent f5ef0ed9ce
commit a8728edae2
10 changed files with 73 additions and 44 deletions
+3
View File
@@ -9,6 +9,7 @@ class TrainingPlan {
late String internalName;
late String description;
late bool free;
late bool active;
int? treeId;
HashMap<String, String> nameTranslations = HashMap();
@@ -23,6 +24,7 @@ class TrainingPlan {
this.internalName = json['internalName'];
this.description = json['description'];
this.free = json['free'];
this.active = json['active'];
this.treeId = json['treeId'];
nameTranslations['en'] = name;
@@ -62,6 +64,7 @@ class TrainingPlan {
"type": this.type,
"internalName": this.internalName,
"free": this.free,
"active": this.active,
"description": this.description,
"nameTranslation": this.nameTranslations.toString(),
};