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