CLCmdGogpsUpdate.from constructor

CLCmdGogpsUpdate.from(
  1. PERIPHERAL_GOGPS_UPDATA v
)

Implementation

factory CLCmdGogpsUpdate.from(PERIPHERAL_GOGPS_UPDATA v) {
  return CLCmdGogpsUpdate(
      timestamp: v.timestamp,
      secondindex: v.secondindex,
      speed: v.speed,
      longitude: v.longitude,
      latitude: v.latitude,
      altitude: v.altitude,
      distance_km: v.distance_km,
      distance_km_max: v.distance_km_max,
      heartrate: v.heartrate,
      stamina: v.stamina,
      stamina_aerobic: v.stamina_aerobic,
      stamina_anerobic: v.stamina_anerobic,
      kcal: v.kcal,
      kcal_max: v.kcal_max,
      cadance: v.cadance);
}