SidekickDartRuntime class

The bundled Dart runtime of a sidekick CLI

Constructors

SidekickDartRuntime(Directory sidekickPackage)
Use this constructor when operating without a sidekick bash context

Properties

dartSdkPath Directory
The location of the Dart SDK
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sidekickPackage Directory
Location of the package that hosts the runtime
final

Methods

dart(List<String> args, {Directory? workingDirectory, Progress? progress, bool nothrow = false}) → void
Runs custom dart executable of this runtime
download() → void
Downloads the SDK
isDownloaded() bool
True when the SDK is downloaded
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