Returns all attributes of this element as a map.
For non-element nodes, may return an empty map.
@override Map<String, String> getAttributes() => Map.unmodifiable(_attributes);