LightEffects constructor
LightEffects({})
Creates a LightEffects object.
Implementation
LightEffects({
required String effect,
required this.effectValues,
required this.status,
required this.statusValues,
}) : assert(effect.isEmpty || Validators.isValidValue(effect, effectValues),
'`effectValues` does not contain "$effect"'),
assert(Validators.isValidValue(status, statusValues),
'`statusValues` does not contain "$status"'),
_originalEffect = effect,
_effect = effect;