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