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, item) => core.MapEntry(
key,
item as core.String,
),
)
: null,
transformNameMapping: _json.containsKey('transformNameMapping')
? (_json['transformNameMapping']
as core.Map<core.String, core.dynamic>)
.map(
(key, item) => core.MapEntry(
key,
item as core.String,
),
)
: null,
update:
_json.containsKey('update') ? _json['update'] as core.bool : null,
);