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,
);