toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final customQuestionText = this.customQuestionText;
  final hasLocationAnswer = this.hasLocationAnswer;
  final singleChoiceAnswers = this.singleChoiceAnswers;
  return {
    'customQuestionText': ?customQuestionText,
    'hasLocationAnswer': ?hasLocationAnswer,
    'singleChoiceAnswers': ?singleChoiceAnswers,
  };
}