getFile method

TemplateFile getFile(
  1. String path
)

Return the template file wih the given path.

Implementation

TemplateFile getFile(String path) =>
    files.firstWhere((file) => file.path == path, orElse: () => null);