hasEmptyAttributes property

bool get hasEmptyAttributes

Returns true if this element has NO attributes.

Implementation

bool get hasEmptyAttributes => _attributes?.isEmpty ?? true;