Gets the attribute for the current position of the parser.
String? attribute(String name, {String? def}) => getAttribute(attributes, name, def: def);