TestRulesetResponse.fromJson constructor
TestRulesetResponse.fromJson(
- Map _json
Implementation
TestRulesetResponse.fromJson(core.Map _json)
: this(
issues: _json.containsKey('issues')
? (_json['issues'] as core.List)
.map((value) => Issue.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
testResults: _json.containsKey('testResults')
? (_json['testResults'] as core.List)
.map((value) => TestResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);