Allows AttributeGenerators to modify the attributes of the tag that is being added to the copy.
Typically, the generators use collector['name'] = 'value';
to
set an attribute to a given value.
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited -
operator []=(
String name, String value) → void -
Sets the attribute
name
to the givenvalue
.
Methods
-
append(
String name, String value, { String separator }) → void -
Appends the
value
to the previous value of attributename
. -
ifAbsent(
String name, String value) → void -
Sets the attribute
name
to the givenvalue
if it was not present. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
prepend(
String name, String value, { String separator }) → void -
Prepends the
value
to the previous value of attributename
. -
remove(
String name) → void -
Removes the attribute
name
if it was present. -
toString(
) → String -
Returns a string representation of this object.
inherited