Workout constructor
Workout({
- required String userId,
- required String userKey,
- required String id,
- String? title,
- int? timezoneOffset,
- double? averageHr,
- double? maxHr,
- double? distance,
- DateTime? timeStart,
- DateTime? timeEnd,
- double? calories,
- Sport? sport,
- List<
Object> hrZones = const [], - int? movingTime,
- double? totalElevationGain,
- double? elevHigh,
- double? elevLow,
- double? averageSpeed,
- double? maxSpeed,
- double? averageWatts,
- double? deviceWatts,
- double? maxWatts,
- double? weightedAverageWatts,
- MapData? map,
- String? providerId,
- Source? source,
Implementation
Workout({
required this.userId,
required this.userKey,
required this.id,
this.title,
this.timezoneOffset,
this.averageHr,
this.maxHr,
this.distance,
this.timeStart,
this.timeEnd,
this.calories,
this.sport,
this.hrZones = const [],
this.movingTime,
this.totalElevationGain,
this.elevHigh,
this.elevLow,
this.averageSpeed,
this.maxSpeed,
this.averageWatts,
this.deviceWatts,
this.maxWatts,
this.weightedAverageWatts,
this.map,
this.providerId,
this.source,
});