SurveyModal constructor

SurveyModal({
  1. Key? key,
  2. required String token,
  3. required String domain,
  4. Map<String, String>? variables,
  5. CustomSurveyTheme? customSurveyTheme,
  6. FirstQuestionAnswer? firstQuestionAnswer,
  7. Function? onNext,
  8. Function? onSubmit,
  9. Map? survey,
  10. Function? onError,
  11. String? email,
})

Implementation

SurveyModal({
  Key? key,
  required this.token,
  required this.domain,
  this.variables,
  this.customSurveyTheme,
  this.firstQuestionAnswer,
  this.onNext,
  this.onSubmit,
  this.survey,
  this.onError,
  this.email,
}) : super(key: key);