Workout constructor

const Workout(
  1. String uuid,
  2. String identifier,
  3. num startTimestamp,
  4. num endTimestamp,
  5. Device? device,
  6. SourceRevision sourceRevision,
  7. WorkoutHarmonized harmonized,
  8. num duration,
  9. List<WorkoutEvent> workoutEvents,
)

Implementation

const Workout(
  String uuid,
  String identifier,
  num startTimestamp,
  num endTimestamp,
  Device? device,
  SourceRevision sourceRevision,
  WorkoutHarmonized harmonized,
  this.duration,
  this.workoutEvents,
) : super(
        uuid,
        identifier,
        startTimestamp,
        endTimestamp,
        device,
        sourceRevision,
        harmonized,
      );