PubspecResolver.fromDirectory constructor
PubspecResolver.fromDirectory(
- String directoryPath
Creates a resolver for the pubspec.yaml in the given directory
Implementation
factory PubspecResolver.fromDirectory(String directoryPath) {
final pubspecPath = '$directoryPath${Platform.pathSeparator}pubspec.yaml';
return PubspecResolver(pubspecPath);
}