SegmentLapTotalCyclesField constructor

SegmentLapTotalCyclesField({
  1. int size = 0,
  2. bool growable = true,
})

Implementation

SegmentLapTotalCyclesField({int size = 0, bool growable = true})
    : super(
          name: 'total_cycles',
          id: ID,
          type: BaseType.UINT32,
          offset: 0,
          scale: 1,
          size: size,
          units: 'cycles',
          mainTypeName: 'uint32',
          growable: growable,
          subFields: [
            SubField(
                name: 'total_strokes',
                type: BaseType.UINT32,
                scale: 1,
                offset: 0,
                units: 'strokes',
                referenceMap: {
                  SegmentLapSportField.ID: [2]
                })
          ]);