SMKitExercise constructor

SMKitExercise({
  1. String? detector,
  2. String? prettyName,
  3. int? totalSeconds,
  4. String? videoInstruction,
  5. String? exerciseIntro,
  6. List<SMKitUIElement>? uiElements,
  7. String? exerciseClosure,
  8. String? closureFailedSound,
  9. String? summaryTitle,
  10. String? summarySubTitle,
  11. String? summaryMainMetricTitle,
  12. String? summaryMainMetricSubTitle,
  13. String? side,
  14. bool? shortIntro,
  15. SMKitQuickMotionParams? quickMotionParams,
  16. SMKitRowingFeedbackLevel? rowingFeedbackLevel,
  17. SMKitPhonePosition? phonePosition,
  18. bool? guidanceMode,
  19. bool? useWideAngleCamera,
  20. bool? playPreExerciseCountdown,
  21. bool? playRepMilestoneVoice,
  22. int? repMilestoneInterval,
  23. bool? playSoundOnEachRep,
  24. bool? adaptiveRomFeedbackEnabled,
  25. int? adaptiveRomWarmupReps,
  26. Map<String, SMKitGuidanceVideoSegment>? guidanceVideoSegments,
  27. SMKitStretchSetConfig? stretchSetConfig,
  28. ScoringParams? scoringParams,
})

Implementation

SMKitExercise({
  this.detector,
  this.prettyName,
  this.totalSeconds,
  this.videoInstruction,
  this.exerciseIntro,
  this.uiElements,
  this.exerciseClosure,
  this.closureFailedSound,
  this.summaryTitle,
  this.summarySubTitle,
  this.summaryMainMetricTitle,
  this.summaryMainMetricSubTitle,
  this.side,
  this.shortIntro,
  this.quickMotionParams,
  this.rowingFeedbackLevel,
  this.phonePosition,
  this.guidanceMode,
  this.useWideAngleCamera,
  this.playPreExerciseCountdown,
  this.playRepMilestoneVoice,
  this.repMilestoneInterval,
  this.playSoundOnEachRep,
  this.adaptiveRomFeedbackEnabled,
  this.adaptiveRomWarmupReps,
  this.guidanceVideoSegments,
  this.stretchSetConfig,
  this.scoringParams,
});