GetAttribute method

String? GetAttribute(
  1. String attributeName
)

Implementation

String? GetAttribute(String attributeName) {
  return _unescapeAttribute(
    (_current as XmlStartElementEvent).attributes
        .firstWhereOrNull((attr) => attr.localName == attributeName)
        ?.value,
  );
}