Light constructor

Light()

Constructs a singleton instance of Light.

Light is designed to work as a singleton.

Implementation

factory Light() => _singleton ??= Light._();