activate method
Install a new Dart application.
Implementation
void activate(String packageName, {bool force = false}) {
if (force || !isActivated(packageName)) {
runlib.run(sdkBin('dart'),
arguments: ['pub', 'global', 'activate', packageName]);
_activatedPackages.add(packageName);
}
}