runPubGet static method
Future
runPubGet(
- String packageDirectory, {
- StdoutSession? stdoutSession,
- bool forceUseFlutterTool = false,
runs pub get in the given packageDirectory
depending or the package either dart
or flutter
is executed
Implementation
static Future runPubGet(
String packageDirectory, {
StdoutSession? stdoutSession,
bool forceUseFlutterTool = false,
}) async {
return DartInteraction.runDartOrFlutterCommand(
packageDirectory,
args: [
'pub',
'get',
],
stdoutSession: stdoutSession,
forceUseFlutterTool: forceUseFlutterTool,
);
}