toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowCancellation != null) 'allowCancellation': allowCancellation!,
      if (automatedAgentReplyType != null)
        'automatedAgentReplyType': automatedAgentReplyType!,
      if (cxCurrentPage != null) 'cxCurrentPage': cxCurrentPage!,
      if (detectIntentResponse != null)
        'detectIntentResponse': detectIntentResponse!,
    };