Secrets.fromJson constructor
Secrets.fromJson(
- Map json_
Implementation
Secrets.fromJson(core.Map json_)
: this(
inline: json_.containsKey('inline')
? (json_['inline'] as core.List)
.map((value) => InlineSecret.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
secretManager: json_.containsKey('secretManager')
? (json_['secretManager'] as core.List)
.map((value) => SecretManagerSecret.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);