InspectorIssueDetails.fromJson constructor
InspectorIssueDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InspectorIssueDetails.fromJson(Map<String, dynamic> json) {
return InspectorIssueDetails(
cookieIssueDetails: json.containsKey('cookieIssueDetails')
? CookieIssueDetails.fromJson(
json['cookieIssueDetails'] as Map<String, dynamic>)
: null,
mixedContentIssueDetails: json.containsKey('mixedContentIssueDetails')
? MixedContentIssueDetails.fromJson(
json['mixedContentIssueDetails'] as Map<String, dynamic>)
: null,
blockedByResponseIssueDetails:
json.containsKey('blockedByResponseIssueDetails')
? BlockedByResponseIssueDetails.fromJson(
json['blockedByResponseIssueDetails'] as Map<String, dynamic>)
: null,
heavyAdIssueDetails: json.containsKey('heavyAdIssueDetails')
? HeavyAdIssueDetails.fromJson(
json['heavyAdIssueDetails'] as Map<String, dynamic>)
: null,
contentSecurityPolicyIssueDetails: json
.containsKey('contentSecurityPolicyIssueDetails')
? ContentSecurityPolicyIssueDetails.fromJson(
json['contentSecurityPolicyIssueDetails'] as Map<String, dynamic>)
: null,
sharedArrayBufferIssueDetails:
json.containsKey('sharedArrayBufferIssueDetails')
? SharedArrayBufferIssueDetails.fromJson(
json['sharedArrayBufferIssueDetails'] as Map<String, dynamic>)
: null,
twaQualityEnforcementDetails:
json.containsKey('twaQualityEnforcementDetails')
? TrustedWebActivityIssueDetails.fromJson(
json['twaQualityEnforcementDetails'] as Map<String, dynamic>)
: null,
lowTextContrastIssueDetails:
json.containsKey('lowTextContrastIssueDetails')
? LowTextContrastIssueDetails.fromJson(
json['lowTextContrastIssueDetails'] as Map<String, dynamic>)
: null,
corsIssueDetails: json.containsKey('corsIssueDetails')
? CorsIssueDetails.fromJson(
json['corsIssueDetails'] as Map<String, dynamic>)
: null,
attributionReportingIssueDetails: json
.containsKey('attributionReportingIssueDetails')
? AttributionReportingIssueDetails.fromJson(
json['attributionReportingIssueDetails'] as Map<String, dynamic>)
: null,
quirksModeIssueDetails: json.containsKey('quirksModeIssueDetails')
? QuirksModeIssueDetails.fromJson(
json['quirksModeIssueDetails'] as Map<String, dynamic>)
: null,
navigatorUserAgentIssueDetails: json
.containsKey('navigatorUserAgentIssueDetails')
? NavigatorUserAgentIssueDetails.fromJson(
json['navigatorUserAgentIssueDetails'] as Map<String, dynamic>)
: null,
genericIssueDetails: json.containsKey('genericIssueDetails')
? GenericIssueDetails.fromJson(
json['genericIssueDetails'] as Map<String, dynamic>)
: null,
deprecationIssueDetails: json.containsKey('deprecationIssueDetails')
? DeprecationIssueDetails.fromJson(
json['deprecationIssueDetails'] as Map<String, dynamic>)
: null,
clientHintIssueDetails: json.containsKey('clientHintIssueDetails')
? ClientHintIssueDetails.fromJson(
json['clientHintIssueDetails'] as Map<String, dynamic>)
: null,
federatedAuthRequestIssueDetails: json
.containsKey('federatedAuthRequestIssueDetails')
? FederatedAuthRequestIssueDetails.fromJson(
json['federatedAuthRequestIssueDetails'] as Map<String, dynamic>)
: null,
);
}