AttrList.fromAttributes constructor

AttrList.fromAttributes(
  1. Map<String, String> attributes
)

Create an attribute list from a mapping of attributes by name to value.

Implementation

factory AttrList.fromAttributes(Map<String, String> attributes) => AttrList([AList(attributes)]);