LightDimmingDelta constructor
LightDimmingDelta({
- required LightDimmingDeltaAction action,
- required double? delta,
Creates a LightDimmingDelta object.
Implementation
LightDimmingDelta({
required this.action,
required double? delta,
}) : assert(delta == null || Validators.isValidPercentage(delta),
"`delta` must be between 0 and 100 (inclusive)"),
_originalAction = action,
_delta = delta,
_originalDelta = delta;