TestExecutionStep.fromJson constructor

TestExecutionStep.fromJson(
  1. Map json_
)

Implementation

TestExecutionStep.fromJson(core.Map json_)
    : this(
        testIssues: json_.containsKey('testIssues')
            ? (json_['testIssues'] as core.List)
                .map((value) => TestIssue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        testSuiteOverviews: json_.containsKey('testSuiteOverviews')
            ? (json_['testSuiteOverviews'] as core.List)
                .map((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,
      );