DartProject.create constructor
Create a dart project on the file system at
pathTo
from the template named templateName
.
Implementation
factory DartProject.create(
{required String pathTo, required String templateName}) {
_createProject(pathTo, templateName);
return DartProject.fromPath(pathTo, search: false);
}