FieldEnvSettings class

Annotations
  • @JsonSerializable(anyMap: true, fieldRename: FieldRename.snake, checked: true)

Constructors

FieldEnvSettings({required FieldTypeEnvSettings type, required EnumEnvSettings? enumSettings, required Object? defaultValue, required String? fieldName})
const
FieldEnvSettings.fromJson(Map map)
factory

Properties

defaultValue Object?
The default value used in dart when the value in the environment is missing
final
enumSettings → EnumEnvSettings?
The settings of the type enum. They are only required if the enum type is used
final
fieldName String?
The name of the field in the env class in dart
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type FieldTypeEnvSettings
The type of the field in the env
final

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