hasEmptyAttributes property
bool
get
hasEmptyAttributes
Returns true
if this element has NO attributes.
Implementation
bool get hasEmptyAttributes =>
_attributes != null ? _attributes!.isEmpty : true;