TestSuiteOverview.fromJson constructor
TestSuiteOverview.fromJson(
- Map json_
Implementation
TestSuiteOverview.fromJson(core.Map json_)
: this(
elapsedTime: json_.containsKey('elapsedTime')
? Duration.fromJson(
json_['elapsedTime'] as core.Map<core.String, core.dynamic>)
: null,
errorCount: json_.containsKey('errorCount')
? json_['errorCount'] as core.int
: null,
failureCount: json_.containsKey('failureCount')
? json_['failureCount'] as core.int
: null,
flakyCount: json_.containsKey('flakyCount')
? json_['flakyCount'] as core.int
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
skippedCount: json_.containsKey('skippedCount')
? json_['skippedCount'] as core.int
: null,
totalCount: json_.containsKey('totalCount')
? json_['totalCount'] as core.int
: null,
xmlSource: json_.containsKey('xmlSource')
? FileReference.fromJson(
json_['xmlSource'] as core.Map<core.String, core.dynamic>)
: null,
);