UrlMapValidationResult.fromJson constructor
UrlMapValidationResult.fromJson(
- Map json_
Implementation
UrlMapValidationResult.fromJson(core.Map json_)
: this(
loadErrors: json_.containsKey('loadErrors')
? (json_['loadErrors'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
loadSucceeded: json_.containsKey('loadSucceeded')
? json_['loadSucceeded'] as core.bool
: null,
testFailures: json_.containsKey('testFailures')
? (json_['testFailures'] as core.List)
.map((value) => TestFailure.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
testPassed: json_.containsKey('testPassed')
? json_['testPassed'] as core.bool
: null,
);