AttrStatement.withType constructor
AttrStatement.withType(
- AttrTarget type,
- Map<
String, String> attributes
Create an attribute statement with a given type
and a mapping of attributes
by name to
value.
Implementation
factory AttrStatement.withType(AttrTarget type, Map<String, String> attributes) => AttrStatement(
type,
AttrList([AList(attributes)]),
);