isBlack property

  1. @override
bool isBlack
override

Returns true if this color is pure black.

Implementation

@override
bool get isBlack =>
    ColorMath.round(x) == 0 &&
    ColorMath.round(y) == 0 &&
    ColorMath.round(z) == 0;