ToolRequirement class
A single tool a platform needs before dartvel build <platform> can work.
Constructors
Properties
- executable → String
-
The executable that must resolve on PATH for this requirement to be met.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
installCommand
→ List<
String> ? -
The command Dartvel runs to install this, or null when it cannot.
final
- installHint → String
-
What the user should do if Dartvel cannot install this itself.
final
- method → InstallMethod
-
no setter
- name → String
-
Human-readable name used in messages.
final
- pathHint → String?
-
Directory to add to PATH after an automatic install, when the tool does
not land somewhere already on PATH.
final
-
postInstall
→ List<
String> ? -
Run after installCommand for tools where fetching is not installing.
final
-
postInstallEnvironment
→ Map<
String, String> ? -
Variables postInstall needs beyond an inherited environment.
final
- probe → bool Function()?
-
Answers whether this tool is present, for tools PATH cannot answer for.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited