CLCmdUserProfile constructor

CLCmdUserProfile({
  1. required int height_in_cm,
  2. required int weight_in_kg,
  3. required int stride_length_in_cm,
  4. required int stride_length_run_in_cm,
  5. required int stepRateForRunLength,
  6. required int units_type,
  7. required String nickname,
  8. required int clock_orientation,
  9. required int sleep_alarm_day_of_week,
  10. required int bed_hr,
  11. required int bed_min,
  12. required int wakeup_hr,
  13. required int wakeup_min,
  14. required int screen_display_option,
  15. required int touch_virbration,
  16. required int daily_goal,
  17. required int training_display_option,
  18. required int age,
  19. required int sex,
  20. required int stride_length_run_indoor_in_cm,
  21. required int hr_alarm_rate,
  22. required int pace_alarm_zone,
  23. required int app_setting,
  24. required int caloryDisplayType,
  25. required int healthinfolevel,
  26. required int stepAlarmEn,
  27. required int stepAlarmVal,
  28. required int calAlarmEn,
  29. required int calAlarmVal,
  30. required int stAlarmVal,
  31. 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;
}