EnvSettings class
- Annotations
-
- @JsonSerializable(anyMap: true, fieldRename: FieldRename.snake, checked: true)
Constructors
-
EnvSettings({int fileWidth = 80, String filePath = 'lib', String className = 'Env', required Map<
String, FieldEnvSettings> fields}) - EnvSettings.fromJson(Map map)
-
factory
- EnvSettings.fromPath(String path)
-
factory
Properties
- className → String
-
The name of the env's dart class
final
-
fields
→ Map<
String, FieldEnvSettings> -
Map with the key the name of the field in the env and
with the value the settings of that field
final
- filePath → String
-
The target directory of the file containing the env dart class
final
- fileWidth → int
-
The width of the file. Set this field when using a different file format
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
loadEnvSettingsFromFile(
String envSettingsPath) → EnvSettings?