getValueAsString method
Implementation
String? getValueAsString(Object? context) {
if (value is DOMTemplateContent) {
var valueContent = value as DOMTemplateContent;
return valueContent.content;
} else if (value is DOMTemplateVariable) {
var valueVar = value as DOMTemplateVariable;
return valueVar.getResolvedAsString(context);
} else {
return value.toString();
}
}