EnvVarJSON class

Constructors

EnvVarJSON({String? key, bool? secret, String? value})
Returns a new EnvVarJSON instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
key ↔ String?
Key is the variable's name in the container, which must match ^[A-Za-z_][A-Za-z0-9_]*$. For a sealed value it is also the last segment of the KMS ref, so it is what identifies the value across a round trip.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret ↔ bool?
Secret says the value lives in KMS and never in the database. A caller may only ADD secrecy: the server seals a value whose key or shape looks like a credential anyway (secretshape.go), so an entry can come back secret that was not sent that way.
getter/setter pair
value ↔ String?
Value is the plaintext, and it is WRITE-ONLY once the entry is secret: a sealed value reads back as "", and sending "" again KEEPS what is sealed rather than wiping it. Only a non-empty value seals a new one.
getter/setter pair

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.
override

Static Methods

fromJson(dynamic value) → EnvVarJSON?
Returns a new EnvVarJSON instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<EnvVarJSON>
mapFromJson(dynamic json) → Map<String, EnvVarJSON>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<EnvVarJSON>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.