HIDReportItem constructor

HIDReportItem({
  1. bool? isAbsolute,
  2. bool? isArray,
  3. bool? isBufferedBytes,
  4. bool? isConstant,
  5. bool? isLinear,
  6. bool? isRange,
  7. bool? isVolatile,
  8. bool? hasNull,
  9. bool? hasPreferredState,
  10. bool? wrap,
  11. Iterable<int>? usages,
  12. int? usageMinimum,
  13. int? usageMaximum,
  14. int? reportSize,
  15. int? reportCount,
  16. int? unitExponent,
  17. HIDUnitSystem? unitSystem,
  18. int? unitFactorLengthExponent,
  19. int? unitFactorMassExponent,
  20. int? unitFactorTimeExponent,
  21. int? unitFactorTemperatureExponent,
  22. int? unitFactorCurrentExponent,
  23. int? unitFactorLuminousIntensityExponent,
  24. int? logicalMinimum,
  25. int? logicalMaximum,
  26. int? physicalMinimum,
  27. int? physicalMaximum,
  28. Iterable<String>? strings,
})

Implementation

factory HIDReportItem(
        {bool? isAbsolute,
        bool? isArray,
        bool? isBufferedBytes,
        bool? isConstant,
        bool? isLinear,
        bool? isRange,
        bool? isVolatile,
        bool? hasNull,
        bool? hasPreferredState,
        bool? wrap,
        Iterable<int>? usages,
        int? usageMinimum,
        int? usageMaximum,
        int? reportSize,
        int? reportCount,
        int? unitExponent,
        HIDUnitSystem? unitSystem,
        int? unitFactorLengthExponent,
        int? unitFactorMassExponent,
        int? unitFactorTimeExponent,
        int? unitFactorTemperatureExponent,
        int? unitFactorCurrentExponent,
        int? unitFactorLuminousIntensityExponent,
        int? logicalMinimum,
        int? logicalMaximum,
        int? physicalMinimum,
        int? physicalMaximum,
        Iterable<String>? strings}) =>
    HIDReportItem._(
        isAbsolute: isAbsolute ?? undefined,
        isArray: isArray ?? undefined,
        isBufferedBytes: isBufferedBytes ?? undefined,
        isConstant: isConstant ?? undefined,
        isLinear: isLinear ?? undefined,
        isRange: isRange ?? undefined,
        isVolatile: isVolatile ?? undefined,
        hasNull: hasNull ?? undefined,
        hasPreferredState: hasPreferredState ?? undefined,
        wrap: wrap ?? undefined,
        usages: usages ?? undefined,
        usageMinimum: usageMinimum ?? undefined,
        usageMaximum: usageMaximum ?? undefined,
        reportSize: reportSize ?? undefined,
        reportCount: reportCount ?? undefined,
        unitExponent: unitExponent ?? undefined,
        unitSystem: unitSystem?.value ?? undefined,
        unitFactorLengthExponent: unitFactorLengthExponent ?? undefined,
        unitFactorMassExponent: unitFactorMassExponent ?? undefined,
        unitFactorTimeExponent: unitFactorTimeExponent ?? undefined,
        unitFactorTemperatureExponent:
            unitFactorTemperatureExponent ?? undefined,
        unitFactorCurrentExponent: unitFactorCurrentExponent ?? undefined,
        unitFactorLuminousIntensityExponent:
            unitFactorLuminousIntensityExponent ?? undefined,
        logicalMinimum: logicalMinimum ?? undefined,
        logicalMaximum: logicalMaximum ?? undefined,
        physicalMinimum: physicalMinimum ?? undefined,
        physicalMaximum: physicalMaximum ?? undefined,
        strings: strings ?? undefined);