ProjectInfo constructor
const
ProjectInfo({
- required String name,
- required ProjectType type,
- ProjectFramework framework = ProjectFramework.none,
- PackageManager? packageManager,
- required String rootPath,
- String? version,
- String? description,
- int dependencyCount = 0,
- int devDependencyCount = 0,
- List<
String> scripts = const [], - List<
String> entryPoints = const [], - String? testCommand,
- String? buildCommand,
- String? lintCommand,
Implementation
const ProjectInfo({
required this.name,
required this.type,
this.framework = ProjectFramework.none,
this.packageManager,
required this.rootPath,
this.version,
this.description,
this.dependencyCount = 0,
this.devDependencyCount = 0,
this.scripts = const [],
this.entryPoints = const [],
this.testCommand,
this.buildCommand,
this.lintCommand,
});