toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (action != null) 'action': action!,
if (allRequiredParamsPresent != null)
'allRequiredParamsPresent': allRequiredParamsPresent!,
if (cancelsSlotFilling != null)
'cancelsSlotFilling': cancelsSlotFilling!,
if (diagnosticInfo != null) 'diagnosticInfo': diagnosticInfo!,
if (fulfillmentMessages != null)
'fulfillmentMessages': fulfillmentMessages!,
if (fulfillmentText != null) 'fulfillmentText': fulfillmentText!,
if (intent != null) 'intent': intent!,
if (intentDetectionConfidence != null)
'intentDetectionConfidence': intentDetectionConfidence!,
if (languageCode != null) 'languageCode': languageCode!,
if (outputContexts != null) 'outputContexts': outputContexts!,
if (parameters != null) 'parameters': parameters!,
if (queryText != null) 'queryText': queryText!,
if (sentimentAnalysisResult != null)
'sentimentAnalysisResult': sentimentAnalysisResult!,
if (speechRecognitionConfidence != null)
'speechRecognitionConfidence': speechRecognitionConfidence!,
if (webhookPayload != null) 'webhookPayload': webhookPayload!,
if (webhookSource != null) 'webhookSource': webhookSource!,
};