ExerciseModel constructor

const ExerciseModel({
  1. required String id,
  2. required String title,
  3. required String thumbnailURL,
  4. required String videoURL,
  5. required String maleVideoURL,
  6. required String maleThumbnailURL,
  7. int? workoutCountdown,
  8. int? workoutReps,
  9. int? averageReps,
  10. int? averageCountdown,
  11. required int restDuration,
  12. required String restSpeech,
  13. required String restSpeechText,
  14. double? averageCalories,
  15. required List<String> bodyParts,
  16. required String description,
  17. required String difficultyLevel,
  18. required String commonMistakes,
  19. required List<String> steps,
  20. required String tips,
  21. required String modelId,
  22. Map<String, dynamic>? rawJSON,
})

Implementation

const ExerciseModel({
  required this.id,
  required this.title,
  required this.thumbnailURL,
  required this.videoURL,
  required this.maleVideoURL,
  required this.maleThumbnailURL,
  this.workoutCountdown,
  this.workoutReps,
  this.averageReps,
  this.averageCountdown,
  required this.restDuration,
  required this.restSpeech,
  required this.restSpeechText,
  this.averageCalories,
  required this.bodyParts,
  required this.description,
  required this.difficultyLevel,
  required this.commonMistakes,
  required this.steps,
  required this.tips,
  required this.modelId,
  this.rawJSON,
});