ExecutionStageSummary.fromJson constructor
ExecutionStageSummary.fromJson(
- Map json_
Implementation
ExecutionStageSummary.fromJson(core.Map json_)
: this(
componentSource: json_.containsKey('componentSource')
? (json_['componentSource'] as core.List)
.map((value) => ComponentSource.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
componentTransform: json_.containsKey('componentTransform')
? (json_['componentTransform'] as core.List)
.map((value) => ComponentTransform.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
inputSource: json_.containsKey('inputSource')
? (json_['inputSource'] as core.List)
.map((value) => StageSource.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
outputSource: json_.containsKey('outputSource')
? (json_['outputSource'] as core.List)
.map((value) => StageSource.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
prerequisiteStage: json_.containsKey('prerequisiteStage')
? (json_['prerequisiteStage'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);