Pipeline.fromJson constructor
Pipeline.fromJson(
- Map json_
Implementation
Pipeline.fromJson(core.Map json_)
: this(
actions: json_.containsKey('actions')
? (json_['actions'] as core.List)
.map((value) => Action.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
encryptedEnvironment: json_.containsKey('encryptedEnvironment')
? Secret.fromJson(json_['encryptedEnvironment']
as core.Map<core.String, core.dynamic>)
: null,
environment: json_.containsKey('environment')
? (json_['environment'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
resources: json_.containsKey('resources')
? Resources.fromJson(
json_['resources'] as core.Map<core.String, core.dynamic>)
: null,
timeout: json_.containsKey('timeout')
? json_['timeout'] as core.String
: null,
);