hasAttributes property

bool get hasAttributes

Returns true if this element has attributes.

Implementation

bool get hasAttributes => !hasEmptyAttributes;