encodeAttributeValueWithQuotes method
Encodes a string to be serialized as XML attribute value together with its corresponding quotes.
Implementation
String encodeAttributeValueWithQuotes(String input, XmlAttributeType type) =>
'${type.token}${encodeAttributeValue(input, type)}${type.token}';