StageSummary.fromJson constructor
StageSummary.fromJson(
- Map json_
Implementation
StageSummary.fromJson(core.Map json_)
: this(
endTime: json_.containsKey('endTime')
? json_['endTime'] as core.String
: null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) => MetricUpdate.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
progress: json_.containsKey('progress')
? ProgressTimeseries.fromJson(
json_['progress'] as core.Map<core.String, core.dynamic>)
: null,
stageId: json_.containsKey('stageId')
? json_['stageId'] as core.String
: null,
startTime: json_.containsKey('startTime')
? json_['startTime'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
stragglerSummary: json_.containsKey('stragglerSummary')
? StragglerSummary.fromJson(json_['stragglerSummary']
as core.Map<core.String, core.dynamic>)
: null,
);