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,
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,
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,
bounceTrackingIssueDetails: json.containsKey('bounceTrackingIssueDetails')
? BounceTrackingIssueDetails.fromJson(
json['bounceTrackingIssueDetails'] as Map<String, dynamic>)
: null,
cookieDeprecationMetadataIssueDetails:
json.containsKey('cookieDeprecationMetadataIssueDetails')
? CookieDeprecationMetadataIssueDetails.fromJson(
json['cookieDeprecationMetadataIssueDetails']
as Map<String, dynamic>)
: null,
stylesheetLoadingIssueDetails:
json.containsKey('stylesheetLoadingIssueDetails')
? StylesheetLoadingIssueDetails.fromJson(
json['stylesheetLoadingIssueDetails'] as Map<String, dynamic>)
: null,
propertyRuleIssueDetails: json.containsKey('propertyRuleIssueDetails')
? PropertyRuleIssueDetails.fromJson(
json['propertyRuleIssueDetails'] as Map<String, dynamic>)
: null,
federatedAuthUserInfoRequestIssueDetails:
json.containsKey('federatedAuthUserInfoRequestIssueDetails')
? FederatedAuthUserInfoRequestIssueDetails.fromJson(
json['federatedAuthUserInfoRequestIssueDetails']
as Map<String, dynamic>)
: null,
sharedDictionaryIssueDetails:
json.containsKey('sharedDictionaryIssueDetails')
? SharedDictionaryIssueDetails.fromJson(
json['sharedDictionaryIssueDetails'] as Map<String, dynamic>)
: null,
);
}