toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (cookieIssueDetails != null)
'cookieIssueDetails': cookieIssueDetails!.toJson(),
if (mixedContentIssueDetails != null)
'mixedContentIssueDetails': mixedContentIssueDetails!.toJson(),
if (blockedByResponseIssueDetails != null)
'blockedByResponseIssueDetails':
blockedByResponseIssueDetails!.toJson(),
if (heavyAdIssueDetails != null)
'heavyAdIssueDetails': heavyAdIssueDetails!.toJson(),
if (contentSecurityPolicyIssueDetails != null)
'contentSecurityPolicyIssueDetails':
contentSecurityPolicyIssueDetails!.toJson(),
if (sharedArrayBufferIssueDetails != null)
'sharedArrayBufferIssueDetails':
sharedArrayBufferIssueDetails!.toJson(),
if (twaQualityEnforcementDetails != null)
'twaQualityEnforcementDetails': twaQualityEnforcementDetails!.toJson(),
if (lowTextContrastIssueDetails != null)
'lowTextContrastIssueDetails': lowTextContrastIssueDetails!.toJson(),
if (corsIssueDetails != null)
'corsIssueDetails': corsIssueDetails!.toJson(),
if (attributionReportingIssueDetails != null)
'attributionReportingIssueDetails':
attributionReportingIssueDetails!.toJson(),
if (quirksModeIssueDetails != null)
'quirksModeIssueDetails': quirksModeIssueDetails!.toJson(),
if (navigatorUserAgentIssueDetails != null)
'navigatorUserAgentIssueDetails':
navigatorUserAgentIssueDetails!.toJson(),
if (genericIssueDetails != null)
'genericIssueDetails': genericIssueDetails!.toJson(),
if (deprecationIssueDetails != null)
'deprecationIssueDetails': deprecationIssueDetails!.toJson(),
if (clientHintIssueDetails != null)
'clientHintIssueDetails': clientHintIssueDetails!.toJson(),
if (federatedAuthRequestIssueDetails != null)
'federatedAuthRequestIssueDetails':
federatedAuthRequestIssueDetails!.toJson(),
};
}