toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (documentationUrl != null) 'documentationUrl': documentationUrl!,
if (resource != null) 'resource': resource!,
if (rule != null) 'rule': rule!,
if (severity != null) 'severity': severity!,
if (violationDetails != null) 'violationDetails': violationDetails!,
if (violationMessage != null) 'violationMessage': violationMessage!,
};