Flurry. ExerciseDevice
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user