toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (extractedText != null) 'extractedText': extractedText!,
if (inspectResult != null) 'inspectResult': inspectResult!,
if (redactedImage != null) 'redactedImage': redactedImage!,
};