Create an attribute list from a mapping of attributes by name to value.
factory AttrList.fromAttributes(Map<String, String> attributes) => AttrList([AList(attributes)]);