toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (allInfoTypes != null) 'allInfoTypes': allInfoTypes!,
if (allText != null) 'allText': allText!,
if (redactionColor != null) 'redactionColor': redactionColor!,
if (selectedInfoTypes != null) 'selectedInfoTypes': selectedInfoTypes!,
};