setup method

void setup(
  1. LightingConfig? config
)

Sets the lighting configuration immediately, cancelling any running transition.

Implementation

void setup(LightingConfig? config) {
  _config = config;
  _animationTarget = null;
  _animationStart = null;
}