toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final action = this.action;
final defaultResponsePlatforms = this.defaultResponsePlatforms;
final displayName = this.displayName;
final endInteraction = this.endInteraction;
final events = this.events;
final followupIntentInfo = this.followupIntentInfo;
final inputContextNames = this.inputContextNames;
final isFallback = this.isFallback;
final liveAgentHandoff = this.liveAgentHandoff;
final messages = this.messages;
final mlDisabled = this.mlDisabled;
final name = this.name;
final outputContexts = this.outputContexts;
final parameters = this.parameters;
final parentFollowupIntentName = this.parentFollowupIntentName;
final priority = this.priority;
final resetContexts = this.resetContexts;
final rootFollowupIntentName = this.rootFollowupIntentName;
final trainingPhrases = this.trainingPhrases;
final webhookState = this.webhookState;
return {
'action': ?action,
'defaultResponsePlatforms': ?defaultResponsePlatforms,
'displayName': ?displayName,
'endInteraction': ?endInteraction,
'events': ?events,
'followupIntentInfo': ?followupIntentInfo,
'inputContextNames': ?inputContextNames,
'isFallback': ?isFallback,
'liveAgentHandoff': ?liveAgentHandoff,
'messages': ?messages,
'mlDisabled': ?mlDisabled,
'name': ?name,
'outputContexts': ?outputContexts,
'parameters': ?parameters,
'parentFollowupIntentName': ?parentFollowupIntentName,
'priority': ?priority,
'resetContexts': ?resetContexts,
'rootFollowupIntentName': ?rootFollowupIntentName,
'trainingPhrases': ?trainingPhrases,
'webhookState': ?webhookState,
};
}