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 (reply != null) 'reply': reply!,
};