Template constructor
Template(})
The constructor parses the template source and throws TemplateException if the syntax of the source is invalid. Tag names may only contain characters a-z, A-Z, 0-9, underscore, and minus, unless lenient mode is specified.
Implementation
factory Template(String source,
{bool lenient,
bool htmlEscapeValues,
String name,
PartialResolver? partialResolver,
String delimiters}) = t.Template.fromSource;