Flurry. ExerciseDevice

This commit is contained in:
Bossanyi Tibor
2020-11-23 18:36:41 +01:00
parent ed8760f8e8
commit 82513fb03e
8 changed files with 81 additions and 42 deletions
+22
View File
@@ -0,0 +1,22 @@
class ExerciseType {
int deviceId;
String name;
String description;
String imageUrl;
ExerciseType({this.name, this.description});
ExerciseType.fromJson(Map json) {
this.name = json['name'];
this.description = json['description'];
this.imageUrl = json['imageUrl'];
}
Map<String, dynamic> toJson() =>
{
"name": name,
"description": description,
};
}