toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (confidenceScore != null) 'confidenceScore': confidenceScore!,
if (metadata != null) 'metadata': metadata!,
if (queryRecord != null) 'queryRecord': queryRecord!,
if (suggestion != null) 'suggestion': suggestion!,
};