isEmpty property

bool get isEmpty

Returns true if this Style does not contain any attributes or variants.

Implementation

bool get isEmpty => styles.isEmpty && variants.isEmpty;