Envied class final
Annotation used to specify the class to contain environment variables that will be generated from a
- allowOptionalFields → bool
Allows all the values to be optional when the type is nullable.
- hashCode → int
The hash code for this object.
- name → String?
The value to use as name for the generated class, with
- 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
constqualifier, but only with
final. Can be overridden by the per-field obfuscate option!final
- path → String
The file path of the
.envfile, 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
- runtimeType → Type
A representation of the runtime type of the object.
- useConstantCase → bool
Whether to convert field names from camelCase to CONSTANT_CASE when
the @EnvField annotation is not explicitly assigned a varName.