Rustup class

Constructors

Rustup({required String executablePath, String? rustupHome, String? cargoHome, Logger? logger})

Properties

cargoHome String?
final
executablePath String
final
hashCode int
The hash code for this object.
no setterinherited
logger → Logger?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
rustupHome String?
final

Methods

getToolchain(String name) Future<RustupToolchain?>
installedToolchains() Future<List<RustupToolchain>>
installToolchain(String name) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runCommand(List<String> arguments, {Map<String, String>? environment, Logger? logger}) Future<String>
toString() String
A string representation of this object.
inherited
uninstall() Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

systemRustup({Logger? logger}) Rustup?
Returns rustup in user PATH.