hasAttributes property

bool get hasAttributes

Returns true if this element has attributes.

Implementation

bool get hasAttributes => _attributes?.isNotEmpty ?? false;