dart method

void dart(
  1. List<String> args, {
  2. Directory? workingDirectory,
  3. Progress? progress,
  4. bool nothrow = false,
})

Runs custom dart executable of this runtime

Implementation

void dart(
  List<String> args, {
  Directory? workingDirectory,
  dcli.Progress? progress,
  bool nothrow = false,
}) {
  dcli.startFromArgs(
    _dartExecutable.path,
    args,
    workingDirectory: workingDirectory?.path,
    progress: progress,
    nothrow: nothrow,
    terminal: progress == null,
  );
}