LightDimmingFull constructor

LightDimmingFull({
  1. required double brightness,
  2. required double minDimLevel,
})

Creates a LightDimmingFull object.

Implementation

LightDimmingFull({
  required super.brightness,
  required this.minDimLevel,
}) : assert(Validators.isValidPercentage(minDimLevel),
          "`minDimLevel` must be between 0 - 100 (inclusive)");