toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (channel != null) 'channel': channel!,
if (conversationSuccess != null)
'conversationSuccess': conversationSuccess!,
if (endInteraction != null) 'endInteraction': endInteraction!,
if (knowledgeInfoCard != null) 'knowledgeInfoCard': knowledgeInfoCard!,
if (liveAgentHandoff != null) 'liveAgentHandoff': liveAgentHandoff!,
if (mixedAudio != null) 'mixedAudio': mixedAudio!,
if (outputAudioText != null) 'outputAudioText': outputAudioText!,
if (payload != null) 'payload': payload!,
if (playAudio != null) 'playAudio': playAudio!,
if (responseType != null) 'responseType': responseType!,
if (telephonyTransferCall != null)
'telephonyTransferCall': telephonyTransferCall!,
if (text != null) 'text': text!,
};