toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (automatedAgentReply != null)
        'automatedAgentReply': automatedAgentReply!,
      if (dtmfParameters != null) 'dtmfParameters': dtmfParameters!,
      if (endUserSuggestionResults != null)
        'endUserSuggestionResults': endUserSuggestionResults!,
      if (humanAgentSuggestionResults != null)
        'humanAgentSuggestionResults': humanAgentSuggestionResults!,
      if (message != null) 'message': message!,
      if (replyAudio != null) 'replyAudio': replyAudio!,
      if (replyText != null) 'replyText': replyText!,
    };