pubUpgrade method

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

Pub upgrade

Implementation

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