WT1.1.18+8 repeats MAX
This commit is contained in:
@@ -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(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user