toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advancedSettings != null) 'advancedSettings': advancedSettings!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (eventHandlers != null) 'eventHandlers': eventHandlers!,
      if (knowledgeConnectorSettings != null)
        'knowledgeConnectorSettings': knowledgeConnectorSettings!,
      if (multiLanguageSettings != null)
        'multiLanguageSettings': multiLanguageSettings!,
      if (name != null) 'name': name!,
      if (nluSettings != null) 'nluSettings': nluSettings!,
      if (transitionRouteGroups != null)
        'transitionRouteGroups': transitionRouteGroups!,
      if (transitionRoutes != null) 'transitionRoutes': transitionRoutes!,
    };