Stage.fromJson constructor
Stage.fromJson(
- Map json_
Implementation
Stage.fromJson(core.Map json_)
: this(
deployParameters:
(json_['deployParameters'] as core.List?)
?.map(
(value) => DeployParameters.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
profiles:
(json_['profiles'] as core.List?)
?.map((value) => value as core.String)
.toList(),
strategy:
json_.containsKey('strategy')
? Strategy.fromJson(
json_['strategy'] as core.Map<core.String, core.dynamic>,
)
: null,
targetId: json_['targetId'] as core.String?,
);