ProcessRunner class
Constructors
- ProcessRunner({required String workingDirectory, bool verbose = false})
Properties
- executable → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFlutterProject → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose → bool
-
final
- workingDirectory → String
-
final
Methods
-
flutterClean(
) → Future< RunnerProcessResult> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pubAdd(
String package, {String? version}) → Future< RunnerProcessResult> -
pubAddDryRun(
String package, {String? version}) → Future< RunnerProcessResult> -
pubDowngrade(
[String? package]) → Future< RunnerProcessResult> -
pubGet(
) → Future< RunnerProcessResult> -
pubOutdated(
{bool json = false}) → Future< RunnerProcessResult> -
pubRemove(
String package) → Future< RunnerProcessResult> -
pubUpgrade(
[String? package]) → Future< RunnerProcessResult> -
runCommandStreaming(
String command, List< String> arguments) → Future<RunnerProcessResult> -
runPubCommand(
List< String> args) → Future<RunnerProcessResult> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getDartSdkPath(
) → String? -
isDartAvailable(
) → Future< bool> -
isFlutterAvailable(
) → Future< bool>