toJson method

Map<String, dynamic> toJson()

Implementation

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