MergedResult.fromJson constructor

MergedResult.fromJson(
  1. Map json_
)

Implementation

MergedResult.fromJson(core.Map json_)
    : this(
        outcome: json_.containsKey('outcome')
            ? Outcome.fromJson(
                json_['outcome'] as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        testSuiteOverviews: json_.containsKey('testSuiteOverviews')
            ? (json_['testSuiteOverviews'] as core.List)
                .map((value) => TestSuiteOverview.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );