updated pub

This commit is contained in:
Joshua Burman
2024-11-24 17:22:27 -05:00
parent df5f24ef16
commit 55a435718d
8 changed files with 526 additions and 105 deletions

View File

@ -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,
});
}