getProjectDependencyVersion method
Returns the version string of package
at the target project dependencies.
Implementation
FutureOr<String?> getProjectDependencyVersion(String package) {
return projectPubspecLock.resolveMapped((projectLock) {
final ver = projectLock['packages'][package]?['version'] as String?;
return ver;
});
}