globalActivate method

void globalActivate(
  1. String packageName
)

Run dart pub global activate on the given packageName.

Implementation

void globalActivate(String packageName) {
  DartSdk().runPub(
    args: ['global', 'activate', packageName],
    progress: Progress.printStdErr(),
  );
}