Create a collection from an iterable of attributes, or an empty collection when omitted.
Optionalcollection: Iterable<HtmlAttribute, any, any>
A collection of attributes.
Get the attribute at the specified index.
The index.
The HTML attribute at the specified index.
Get an attribute from the collection if it exists.
The attribute identifier or name.
The attribute if found; otherwise, null.
Get an iterator for the attribute collection.
A readonly collection of HTML attributes.