SurveySubmit typedef

SurveySubmit = Future<void> Function(NexusSurvey survey, Map<String, Object?> answers, {bool completed, bool dismissed})

Persists a response (partial or terminal). Wired to the surveys service.

Implementation

typedef SurveySubmit = Future<void> Function(
  NexusSurvey survey,
  Map<String, Object?> answers, {
  bool completed,
  bool dismissed,
});