CLCmdGogpsBodyPeakNew.from constructor
CLCmdGogpsBodyPeakNew.from()
Implementation
factory CLCmdGogpsBodyPeakNew.from(PERIPHERAL_GOGPS_BODY_PEAK_OUTDOORNEW v) =>
CLCmdGogpsBodyPeakNew(
type: v.type,
timestamp: v.timestamp,
heartrate: v.heartrate,
secIndex: v.secIndex,
lat:v.lat,
lon:v.lon,
altitude: v.altitude,
distance: 0,
steps: 0,
accuracy: v.altitude);