CLCmdStreamingData.from constructor

CLCmdStreamingData.from(
  1. PERIPHERAL_STREAMING_DATA v
)

Implementation

factory CLCmdStreamingData.from(PERIPHERAL_STREAMING_DATA v) =>
    CLCmdStreamingData(
        epoch: v.epoch,
        skinTemperature: v.skinTemperature,
        walking: v.walking,
        running: v.running,
        calories: v.calories,
        distance: v.distance,
        sleepSeconds: v.sleepSeconds,
        sleepState: v.sleepState,
        heartRate: v.heartRate,
        skinTouch: v.skinTouch,
        activity_data: v.activity_data,
        acttype: v.acttype,
        uv: v.uv,
        voc: v.voc,
        alcohol: v.alcohol,
        bp_hp: v.bp_hp,
        bp_lp: v.bp_lp,
        newstate: v.newstate,
        entries: v.entries,
        wristtemp: v.wristtemp,
        bodytemp: v.bodytemp,
        spo2: v.spo2,
        hrv: v.hrv,
        stress: v.stress,
        atm: v.atm,
        sweatsugar: v.sweatsugar,
        lacticacid: v.lacticacid,
        glucose: v.glucose);