toStringValue method
Implementation
String toStringValue() {
if (value is DOMTemplateContent) {
var valueContent = value as DOMTemplateContent;
var content = valueContent.content!;
return content.contains('"') ? "'$content'" : '"$content"';
} else if (value is DOMTemplateVariable) {
var valueVar = value as DOMTemplateVariable;
return valueVar.keysFull;
} else {
return value.toString();
}
}