isParentClass property

bool get isParentClass

Returns true if this class is a parent class or sealed.

Implementation

bool get isParentClass => childClasses.isNotEmpty || isSealed;