toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advancedSettings != null) 'advancedSettings': advancedSettings!,
      if (answerFeedbackSettings != null)
        'answerFeedbackSettings': answerFeedbackSettings!,
      if (avatarUri != null) 'avatarUri': avatarUri!,
      if (defaultLanguageCode != null)
        'defaultLanguageCode': defaultLanguageCode!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (enableSpellCorrection != null)
        'enableSpellCorrection': enableSpellCorrection!,
      if (enableStackdriverLogging != null)
        'enableStackdriverLogging': enableStackdriverLogging!,
      if (genAppBuilderSettings != null)
        'genAppBuilderSettings': genAppBuilderSettings!,
      if (gitIntegrationSettings != null)
        'gitIntegrationSettings': gitIntegrationSettings!,
      if (locked != null) 'locked': locked!,
      if (name != null) 'name': name!,
      if (personalizationSettings != null)
        'personalizationSettings': personalizationSettings!,
      if (securitySettings != null) 'securitySettings': securitySettings!,
      if (speechToTextSettings != null)
        'speechToTextSettings': speechToTextSettings!,
      if (startFlow != null) 'startFlow': startFlow!,
      if (supportedLanguageCodes != null)
        'supportedLanguageCodes': supportedLanguageCodes!,
      if (textToSpeechSettings != null)
        'textToSpeechSettings': textToSpeechSettings!,
      if (timeZone != null) 'timeZone': timeZone!,
    };