PubGlobal class

Access the pub global commands.

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

activate(String packageName, { bool force: false }) → void
Install a new Dart application.
isActivated(String packageName) → bool
Returns whether the given Dart application is installed.
list() → List<PubApp>
Return the list of installed applications.
run(String package, { List<String> arguments, RunOptions runOptions, String script, String workingDirectory }) → String
Run the given installed Dart application.
runAsync(String package, { List<String> arguments, RunOptions runOptions, String script }) → Future<String>
Run the given installed Dart application.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited