13 lines
235 B
Dart
13 lines
235 B
Dart
class Workout{
|
|
String creator;
|
|
String title;
|
|
int id;
|
|
|
|
Workout(this.creator, this.title, this.id);
|
|
|
|
Workout.fromJsonMap(Map map){
|
|
this.creator = map['creator'];
|
|
this.title = map['title'];
|
|
this.id = map['id'];
|
|
}
|
|
} |