readProjectStyle method
AFGeneratedFile
readProjectStyle(
- AFCommandContext context,
- List<
String> projectPath, - dynamic templateOrId, {
- AFSourceTemplateInsertions? insertions,
Implementation
AFGeneratedFile readProjectStyle(AFCommandContext context, List<String> projectPath, dynamic templateOrId, {
AFSourceTemplateInsertions? insertions,
}) {
// if we are generating templates, then generate it at the
final generated = _createFile(context, projectPath, templateOrId, AFGeneratedFileAction.projectStyle);
if(insertions != null && !context.isExportTemplates) {
generated.performInsertions(context, insertions);
}
return generated;
}