UserData class

Constructors

UserData({required String gender, required double weight, required double height, required String timeFormat, required DateTime birthDate, required String measurementSystem, int? activityLevel, required String handedness, required PowerFormat powerFormat, required PowerFormat heartRateFormat, required FirstDayOfWeek firstDayOfWeek, double? vo2MaxRunning, double? vo2MaxCycling, double? lactateThresholdSpeed, double? lactateThresholdHeartRate, int? diveNumber, required String intensityMinutesCalcMethod, required int moderateIntensityMinutesHrZone, required int vigorousIntensityMinutesHrZone, required String hydrationMeasurementUnit, required List<Map<String, dynamic>> hydrationContainers, required bool hydrationAutoGoalEnabled, double? firstbeatMaxStressScore, int? firstbeatCyclingLtTimestamp, int? firstbeatRunningLtTimestamp, bool? thresholdHeartRateAutoDetected, bool? ftpAutoDetected, String? trainingStatusPausedDate, WeatherLocation? weatherLocation, String? golfDistanceUnit, String? golfElevationUnit, String? golfSpeedUnit, double? externalBottomTime})
UserData.fromJson(Map<String, dynamic> json)
factory

Properties

activityLevel → int?
final
birthDate → DateTime
final
diveNumber → int?
final
externalBottomTime → double?
final
firstbeatCyclingLtTimestamp → int?
final
firstbeatMaxStressScore → double?
final
firstbeatRunningLtTimestamp → int?
final
firstDayOfWeek → FirstDayOfWeek
final
ftpAutoDetected → bool?
final
gender → String
final
golfDistanceUnit → String?
final
golfElevationUnit → String?
final
golfSpeedUnit → String?
final
handedness → String
final
hashCode → int
The hash code for this object.
no setterinherited
heartRateFormat → PowerFormat
final
height → double
final
hydrationAutoGoalEnabled → bool
final
hydrationContainers → List<Map<String, dynamic>>
final
hydrationMeasurementUnit → String
final
intensityMinutesCalcMethod → String
final
lactateThresholdHeartRate → double?
final
lactateThresholdSpeed → double?
final
measurementSystem → String
final
moderateIntensityMinutesHrZone → int
final
powerFormat → PowerFormat
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thresholdHeartRateAutoDetected → bool?
final
timeFormat → String
final
trainingStatusPausedDate → String?
final
vigorousIntensityMinutesHrZone → int
final
vo2MaxCycling → double?
final
vo2MaxRunning → double?
final
weatherLocation → WeatherLocation?
final
weight → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited