generateConstructor abstract method
Generates code that constructs a representation of the type from an expression
as an XML attribute / XML element / XML text.
An implementation to construct a representation of the type as an XML text could be as simple as:
String generateConstructor(String expression) => 'XmlText($expression)';
Implementation
String generateConstructor(String expression);