isLegacy property

bool get isLegacy

Whether this is a legacy color—that is, a color defined using pre-color-spaces syntax that preserves comaptibility with old color behavior and semantics.

Implementation

bool get isLegacy => space.isLegacy;