LaunchTemplateParameters.fromJson constructor
LaunchTemplateParameters.fromJson(
- Map json_
Implementation
LaunchTemplateParameters.fromJson(core.Map json_)
: this(
environment: json_.containsKey('environment')
? RuntimeEnvironment.fromJson(
json_['environment'] as core.Map<core.String, core.dynamic>)
: null,
jobName: json_.containsKey('jobName')
? json_['jobName'] as core.String
: null,
parameters: json_.containsKey('parameters')
? (json_['parameters'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
transformNameMapping: json_.containsKey('transformNameMapping')
? (json_['transformNameMapping']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
update:
json_.containsKey('update') ? json_['update'] as core.bool : null,
);