Dart class
Utility tasks for for getting information about the Dart VM and for running Dart applications.
The custom named parameters (e.g. vmNewGenHeapMB) will override
args set in vmArgs.
Constructors
- Dart()
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
-
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
Static Methods
-
run(
String script, { List< String> arguments: const [], bool quiet: false, String packageRoot, RunOptions runOptions, String workingDirectory, List<String> vmArgs: const [] }) → String -
Run a dart
scriptusing runlib.run. Returns the stdout. -
runAsync(
String script, { List< String> arguments: const [], bool quiet: false, String packageRoot, RunOptions runOptions, List<String> vmArgs: const [] }) → Future<String> -
version(
{bool quiet: false }) → String