view method
Load a file from the container TODO: This doesnt feel like the right path forward for this.
Implementation
String? view(String filename) {
String templateString;
try {
templateString = read('@views.$filename');
} catch (e) {
throw ViewNotFoundError(filename);
}
return templateString;
}