Pubspec constructor
Pubspec({
- String? currentDirPath,
Implementation
Pubspec({String? currentDirPath})
: filePath = path.join(currentDirPath ?? Directory.current.path, pubspecFileName);