isLight property

bool get isLight

true if the estimatedBrightness is Brightness.light, false otherwise.

Implementation

bool get isLight => estimatedBrightness.isLight;