getSource method
Get template source from file.
Throws TemplateNotFound if file not found or UnsupportedError if don't has access to source.
Implementation
@override
String getSource(String path) {
if (sources.containsKey(path)) {
return sources[path]!;
}
throw TemplateNotFound(name: path);
}