SecretMeta class

Constructors

SecretMeta({String? env, String? name, String? path, String? scheme})
Returns a new SecretMeta instance.

Properties

env ↔ String?
Env is the environment the secret belongs to. It is part of the storage key, so the same name in two environments is two secrets.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is the secret's name within its path and environment.
getter/setter pair
path ↔ String?
Path is the subpath the secret is stored under, beneath the org root.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheme ↔ String?
Scheme names how the value is sealed at rest, so a caller can tell a migrated record from a current one without opening it.
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) → SecretMeta?
Returns a new SecretMeta instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<SecretMeta>
mapFromJson(dynamic json) → Map<String, SecretMeta>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<SecretMeta>>

Constants

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