Envied class
Annotation used to specify the class to contain environment variables that will be generated from a .env
file.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The value to use as name for the generated class, with
an underscore
_
prefixed.final - obfuscate → bool
-
Allows all the values to be encrypted using a random
generated key that is then XOR'd with the encrypted
value when being accessed the first time.
Please note that the values can not be offered with
the
const
qualifier, but only withfinal
. Can be overridden by the per-field obfuscate option!final - path → String
-
The file path of the
.env
file, relative to the project root, which will be used to generate environment variables.final - requireEnvFile → bool
-
Whether to require a env file exists, or else the build_runner will fail if the file does not exits
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