CLCmdUserProfile constructor
CLCmdUserProfile({
- required int height_in_cm,
- required int weight_in_kg,
- required int stride_length_in_cm,
- required int stride_length_run_in_cm,
- required int stepRateForRunLength,
- required int units_type,
- required String nickname,
- required int clock_orientation,
- required int sleep_alarm_day_of_week,
- required int bed_hr,
- required int bed_min,
- required int wakeup_hr,
- required int wakeup_min,
- required int screen_display_option,
- required int touch_virbration,
- required int daily_goal,
- required int training_display_option,
- required int age,
- required int sex,
- required int stride_length_run_indoor_in_cm,
- required int hr_alarm_rate,
- required int pace_alarm_zone,
- required int app_setting,
- required int caloryDisplayType,
- required int healthinfolevel,
- required int stepAlarmEn,
- required int stepAlarmVal,
- required int calAlarmEn,
- required int calAlarmVal,
- required int stAlarmVal,
- required int stMinAlarmVal,
Implementation
CLCmdUserProfile(
{required this.height_in_cm,
required this.weight_in_kg,
required this.stride_length_in_cm,
required this.stride_length_run_in_cm,
required this.stepRateForRunLength,
required this.units_type,
required this.nickname,
required this.clock_orientation,
required this.sleep_alarm_day_of_week,
required this.bed_hr,
required this.bed_min,
required this.wakeup_hr,
required this.wakeup_min,
required this.screen_display_option,
required this.touch_virbration,
required this.daily_goal,
required this.training_display_option,
required this.age,
required this.sex,
required this.stride_length_run_indoor_in_cm,
required this.hr_alarm_rate,
required this.pace_alarm_zone,
required this.app_setting,
required this.caloryDisplayType,
required this.healthinfolevel,
required this.stepAlarmEn,
required this.stepAlarmVal,
required this.calAlarmEn,
required this.calAlarmVal,
required this.stAlarmVal,
required this.stMinAlarmVal}) {
_nickname_len = nickname.toNativeUtf8().length;
}