CLCmdGogpsBodyPeakSwim.from constructor

CLCmdGogpsBodyPeakSwim.from(
  1. PERIPHERAL_GOGPS_BODY_PEAK_SWIM v
)

Implementation

factory CLCmdGogpsBodyPeakSwim.from(PERIPHERAL_GOGPS_BODY_PEAK_SWIM v) =>
    CLCmdGogpsBodyPeakSwim(
        type: v.type,
        timestamp: v.timestamp,
        heartrate: v.heartrate,
        swimtime: v.swimtime,
        strokes: v.strokes,
        swimtype: v.swimtype,
        avgstrokefreq: v.avgstrokefreq,
        maxstrokefreq: v.maxstrokefreq,
        swolf: v.swolf,
        avgpace: v.avgpace,
        lapindex: v.lapindex,
        reserve: v.reserve);