isLight property Null safety

bool isLight

Determines whether the given PdfColor is light.

Implementation

bool get isLight => !isDark;