id property
String?
id
The id
attribute of this element.
Implementation
String? get id {
return attributes
?.cast<XmlAttribute?>()
.firstWhere((attribute) => attribute!.name.toLowerCase() == 'id',
orElse: () => null)
?.value
.toLowerCase();
}