downgrade static method
Run pub downgrade
on the current project.
Implementation
static void downgrade({RunOptions? runOptions, String? workingDirectory}) {
runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
_run('downgrade', runOptions: runOptions);
}