SettingsReq class
Constructors
-
SettingsReq({Map<
String, Object> config = const {}, String? product, Map<String, String> secrets = const {}}) - Returns a new SettingsReq instance.
Properties
-
config
↔ Map<
String, Object> -
Config is the product's non-secret configuration, stored verbatim. Bounded at 64 KiB once serialized. Omit it to store an empty object.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- product ↔ String?
-
Product is the catalog slug, from the PATH. zip binds the path last, so the URL names the product being written whatever a body field claims.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secrets
↔ Map<
String, String> -
Secrets are the secret fields, by name. Each VALUE is sealed into KMS and never reaches this deployment's database; a value that is empty or equal to the mask the read path returns means "unchanged" and is skipped, so a console round-trip cannot blank a stored secret. A key must match ^
a-z0-9._-{0,62}$, a value is bounded at 8 KiB, and an org may hold at most 64 secret fields per product.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) → SettingsReq? -
Returns a new SettingsReq instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< SettingsReq> -
mapFromJson(
dynamic json) → Map< String, SettingsReq> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< SettingsReq> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.