toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final answerChoices = this.answerChoices;
  final categoryLabel = this.categoryLabel;
  final displayText = this.displayText;
  final id = this.id;
  return {
    'answerChoices': ?answerChoices,
    'categoryLabel': ?categoryLabel,
    'displayText': ?displayText,
    'id': ?id,
  };
}