CLCmdVibraData.from constructor

CLCmdVibraData.from(
  1. PERIPHERAL_VIBRA_DATA v
)

Implementation

factory CLCmdVibraData.from(PERIPHERAL_VIBRA_DATA v) {
  return CLCmdVibraData(
      vibra_interval: v.vibra_interval,
      vibra_during: v.vibra_during,
      vibra_freq: v.vibra_freq,
      vibra_enable: v.vibra_enable);
}