warmUpAll method
Discover templates from the configured loader and warm them into the DOM cache.
Implementation
Future<WarmUpResult> warmUpAll() {
if (loader is FileSystemLoader) {
return warmUp((loader as FileSystemLoader).listTemplates());
}
if (loader is MapLoader) {
return warmUp((loader as MapLoader).listTemplates());
}
throw UnsupportedError('warmUpAll() is only supported for FileSystemLoader and MapLoader');
}