AgentEnvironment.fromJson constructor
AgentEnvironment.fromJson(
- Map json_
Implementation
AgentEnvironment.fromJson(core.Map json_)
: this(
encryptedVariables: json_.containsKey('encryptedVariables')
? AgentKMSEnvMap.fromJson(json_['encryptedVariables']
as core.Map<core.String, core.dynamic>)
: null,
secretVariables: json_.containsKey('secretVariables')
? (json_['secretVariables']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
variables: json_.containsKey('variables')
? (json_['variables'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
);