DataWedgeLedSettings constructor

const DataWedgeLedSettings({
  1. required int color,
  2. required int onTime,
  3. required int offTime,
  4. required int repeatCount,
})

Creates new LED settings.

color is the LED color. onTime is the LED on time in milliseconds. offTime is the LED off time in milliseconds. repeatCount is the number of times to repeat the pattern.

Implementation

const DataWedgeLedSettings({
  required this.color,
  required this.onTime,
  required this.offTime,
  required this.repeatCount,
});