updated pub
This commit is contained in:
@ -1,17 +1,43 @@
|
||||
class ActivityAction {
|
||||
ActivityAction(
|
||||
{required this.id,
|
||||
required this.title,
|
||||
required this.description,
|
||||
this.repetitions,
|
||||
this.time,
|
||||
this.weight});
|
||||
int id;
|
||||
String title;
|
||||
String description;
|
||||
Set activityActionSet;
|
||||
|
||||
final int id;
|
||||
final String title;
|
||||
final String description;
|
||||
final int? repetitions;
|
||||
final int? weight;
|
||||
// in milliseconds
|
||||
final int? time;
|
||||
ActivityAction({
|
||||
required this.id,
|
||||
required this.title,
|
||||
required this.description,
|
||||
required this.activityActionSet,
|
||||
});
|
||||
}
|
||||
|
||||
class Set {
|
||||
String type;
|
||||
int total;
|
||||
int rest;
|
||||
Reps reps;
|
||||
|
||||
Set({
|
||||
required this.type,
|
||||
required this.total,
|
||||
required this.rest,
|
||||
required this.reps,
|
||||
});
|
||||
}
|
||||
|
||||
class Reps {
|
||||
String type;
|
||||
List<int> tempo;
|
||||
List<int> amounts;
|
||||
List<int> weights;
|
||||
int rest;
|
||||
|
||||
Reps({
|
||||
required this.type,
|
||||
required this.tempo,
|
||||
required this.amounts,
|
||||
required this.weights,
|
||||
required this.rest,
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user