sampleSingleGoalTimedWorkout top-level property

SingleGoalWorkout sampleSingleGoalTimedWorkout
final

A sample single goal timed workout

Implementation

final SingleGoalWorkout sampleSingleGoalTimedWorkout = SingleGoalWorkout(
  activityType: WorkoutActivityType.running,
  location: WorkoutLocationType.indoor,
  goal: const WorkoutGoal(
    type: WorkoutGoalType.time,
    targetDuration: Duration(minutes: 30),
    unit: WorkoutGoalUnit.minutes,
  ),
);