initFiles method
void
initFiles()
Prepares the project by creating a pubspec.yaml and the analysis_options.yaml file.
Implementation
void initFiles() {
if (!hasPubSpec) {
_createPubspecFromTemplate();
}
if (!hasAnalysisOptions) {
/// add pedantic to the project
_createAnalysisOptionsFromTemplate();
}
}