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,
);