TrainingInfo constructor

TrainingInfo({
  1. required int? type,
  2. required int? startTime,
  3. required int? endTime,
  4. required int? validTime,
  5. required int? steps,
  6. required int? distance,
  7. required int? calories,
  8. required List<int>? hrList,
})

Implementation

TrainingInfo({
  required this.type,
  required this.startTime,
  required this.endTime,
  required this.validTime,
  required this.steps,
  required this.distance,
  required this.calories,
  required this.hrList,
});