client library
Classes
- AdminIntegrationSettings
- AdminIntegrationSettingsInput
- AdminReply
- AdminSettingsEndpoint
- AiAdminEndpoint
- AiIntegrationSettings
- AiProviderKeySettings
- AnonymousAccount
- AnonymousEndpoint
- AnonymousSession
- Answer
- AnswerChange
- AuthSuccess
- AuthUserInfo
- Choice
- ChoiceAdminEndpoint
- Client
- ClientAuth
- ConfigEndpoint
- DeviceInfo
- EmailIdpEndpoint
- FollowUp
- FollowUpAnswer
- FollowUpChoice
- FollowUpGenerateResult
- FollowUpItem
- FormContentMessages
- IndividualAnswer
- One respondent's answer for a question, used under aggregated results.
- LocalizedText
- MediaUpload
- NotificationSettings
- NotificationSettingsEndpoint
- Project
- ProjectAdminEndpoint
- ProjectWithSurveys
- PublicConfig
- PublicProject
- Question
- QuestionAdminEndpoint
- QuestionResult
- QuestionVisibilityRule
- QuestionWithChoices
- RawResponse
- ResponseAnalyticsEndpoint
- ResponseExportFile
- SmtpIntegrationSettings
- Survey
- SurveyAdminEndpoint
- SurveyEndpoint
- SurveyResponse
- SurveyResults
- TurnstileIntegrationSettings
- UserAdminEndpoint
Enums
Extensions
Constants
- defaultFormContentLocale → const String
-
formContentLocaleCodes
→ const List<
String> -
formContentLocaleLabels
→ const Map<
String, String> -
formContentLocalizedValues
→ const Map<
String, Map< String, String> >
Functions
-
applyAnswerChange(
{required AnswerValues answers, required ValidationErrors validationErrors, required List< Question> questions, required List<QuestionVisibilityRule> visibilityRules, required int questionId, required AnswerValue? value}) → AnswerChange -
buildAnswers(
AnswerValues answerValues, Iterable< Question> questions, {int surveyResponseId = 0}) → List<Answer> -
generateIdempotencyKey(
) → String -
normalizeFormContentLocale(
String locale) → String -
pruneHiddenAnswers(
AnswerValues answerValues, List< Question> visibleQuestions) → AnswerValues -
resolveFormContentLocale(
{required Iterable< String> preferredLocales, required List<String> supportedLocales, String defaultLocale = defaultFormContentLocale}) → String -
Picks the first
preferredLocalesentry that is insupportedLocales(after normalizeFormContentLocale), otherwisedefaultLocale. -
resolveVisibleQuestions(
List< Question> questions, List<QuestionVisibilityRule> visibilityRules, AnswerValues answerValues) → List<Question> -
validateSurveyAnswers(
AnswerValues answerValues, List< Question> questions, String locale) → ValidationErrors
Typedefs
- AnswerValue = Object?
-
AnswerValues
= Map<
int, AnswerValue?> - UuidValue = String
-
ValidationErrors
= Map<
int, String>