TestExecutionStep.fromJson constructor
TestExecutionStep.fromJson(
- Map _json
Implementation
TestExecutionStep.fromJson(core.Map _json)
: this(
testIssues: _json.containsKey('testIssues')
? (_json['testIssues'] as core.List)
.map<TestIssue>((value) => TestIssue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
testSuiteOverviews: _json.containsKey('testSuiteOverviews')
? (_json['testSuiteOverviews'] as core.List)
.map<TestSuiteOverview>((value) => TestSuiteOverview.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
testTiming: _json.containsKey('testTiming')
? TestTiming.fromJson(
_json['testTiming'] as core.Map<core.String, core.dynamic>)
: null,
toolExecution: _json.containsKey('toolExecution')
? ToolExecution.fromJson(
_json['toolExecution'] as core.Map<core.String, core.dynamic>)
: null,
);