toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (status != null) "status": encodeValue(status),
if (reasonCodes != null) "reason_codes": encodeValue(reasonCodes),
if (sanitizedHtml != null) "sanitized_html": encodeValue(sanitizedHtml),
if (normalizedText != null)
"normalized_text": encodeValue(normalizedText),
if (links != null) "links": encodeValue(links),
if (scanner != null) "scanner": encodeValue(scanner),
if (contentHash != null) "content_hash": encodeValue(contentHash),
if (quarantineNotes != null)
"quarantine_notes": encodeValue(quarantineNotes),
};