UrlInspectionResult.fromJson constructor
UrlInspectionResult.fromJson(
- Map json_
Implementation
UrlInspectionResult.fromJson(core.Map json_)
: this(
ampResult: json_.containsKey('ampResult')
? AmpInspectionResult.fromJson(
json_['ampResult'] as core.Map<core.String, core.dynamic>)
: null,
indexStatusResult: json_.containsKey('indexStatusResult')
? IndexStatusInspectionResult.fromJson(json_['indexStatusResult']
as core.Map<core.String, core.dynamic>)
: null,
inspectionResultLink: json_.containsKey('inspectionResultLink')
? json_['inspectionResultLink'] as core.String
: null,
mobileUsabilityResult: json_.containsKey('mobileUsabilityResult')
? MobileUsabilityInspectionResult.fromJson(
json_['mobileUsabilityResult']
as core.Map<core.String, core.dynamic>)
: null,
richResultsResult: json_.containsKey('richResultsResult')
? RichResultsInspectionResult.fromJson(json_['richResultsResult']
as core.Map<core.String, core.dynamic>)
: null,
);