isVariant property

bool get isVariant

Whether it is a variant of another material.

Implementation

bool get isVariant => parent.isNotEmpty;