CLCmdGogpsHeaderV2.from constructor

CLCmdGogpsHeaderV2.from(
  1. PERIPHERAL_GOGPS_HEADER_V2 v
)

Implementation

factory CLCmdGogpsHeaderV2.from(PERIPHERAL_GOGPS_HEADER_V2 v) =>
    CLCmdGogpsHeaderV2(
        workoutType: v.workoutType,
        blkIndex: v.blkIndex,
        timestamp: v.timestamp,
        latitude: v.latitude,
        longitude: v.longitude,
        calories: v.calories,
        lapdistance: 0);