computeLuminance method
override
Returns a brightness value between 0 for darkest and 1 for lightest.
Represents the relative luminance of the color. This value is computationally expensive to calculate.
Implementation
@override
double computeLuminance() => _effectiveColor.computeLuminance();