PagespeedApiPagespeedResponseV5.fromJson constructor
PagespeedApiPagespeedResponseV5.fromJson(
- Map json_
Implementation
PagespeedApiPagespeedResponseV5.fromJson(core.Map json_)
: this(
analysisUTCTimestamp: json_.containsKey('analysisUTCTimestamp')
? json_['analysisUTCTimestamp'] as core.String
: null,
captchaResult: json_.containsKey('captchaResult')
? json_['captchaResult'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
lighthouseResult: json_.containsKey('lighthouseResult')
? LighthouseResultV5.fromJson(json_['lighthouseResult']
as core.Map<core.String, core.dynamic>)
: null,
loadingExperience: json_.containsKey('loadingExperience')
? PagespeedApiLoadingExperienceV5.fromJson(
json_['loadingExperience']
as core.Map<core.String, core.dynamic>)
: null,
originLoadingExperience: json_.containsKey('originLoadingExperience')
? PagespeedApiLoadingExperienceV5.fromJson(
json_['originLoadingExperience']
as core.Map<core.String, core.dynamic>)
: null,
version: json_.containsKey('version')
? PagespeedVersion.fromJson(
json_['version'] as core.Map<core.String, core.dynamic>)
: null,
);