DashCliEnv class

Environment variables for the CLI.

Properties

dashCliName String
Name of the CLI.
final
dashCliVersion String
Version of the CLI.
final
env Config
Get the Config environment variables.
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

Methods

load() → void
Load the config file.
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

Static Properties

configFile File
Get the config file.
no setter
getConfigPath String
Get the path to the config file.
no setter
instance DashCliEnv
Singleton instance of the class.
final

Static Methods

addNew(String key, String value) bool
Add new key to the config file.