getXyzGenDefaultTemplateFilePath function

Future<String> getXyzGenDefaultTemplateFilePath(
  1. String templateName
)

Returns the path of the default template file with the given templateName.

Implementation

Future<String> getXyzGenDefaultTemplateFilePath(String templateName) async {
  final libPath = await getXyzGenLibPath();
  final templatePath = p.join(libPath, 'templates', templateName);
  return templatePath;
}