Project class final
The workspace and config that commands work with.
Constructors
Properties
- cacheDirectory → String
-
Absolute path of the project cache.
no setter
- cacheDirectoryOverride → String?
-
final
- config → DpkConfig
-
final
- configPath → String
-
Absolute path of the
dpk.yamlthat configures the project.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isProjectMode → bool
-
no setter
- patchDirectory → String
-
Absolute path of the patch directory.
no setter
-
pubEnvironment
→ Map<
String, String> -
Environment variables for
dart puband for scripts, so pub uses the project cache in project mode.no setter - rootPath → String
-
The directory that holds configPath.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scripts
→ Map<
String, Script> -
The root config's scripts, overridden by the current package's
dpk.yamlscripts.final -
warnings
→ List<
ConfigWarning> -
final
- workspace → Workspace
-
final
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