pubDowngrade method

Future<void> pubDowngrade({
  1. bool? offline,
})

Pub downgrade

Implementation

Future<void> pubDowngrade({bool? offline}) async {
  _packageConfigMap = null;
  await shell.run('$dofPub downgrade${offline == true ? ' --offline' : ''}');
}