runPubGet method

void runPubGet(
  1. String? workingDirectory, {
  2. Progress? progress,
  3. bool compileExecutables = false,
})

runs 'dart pub get'

Implementation

void runPubGet(
  String? workingDirectory, {
  Progress? progress,
  bool compileExecutables = false,
}) {
  runPub(
    args: ['get', if (!compileExecutables) '--no-precompile'],
    workingDirectory: workingDirectory,
    progress: progress,
  );
}