toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final choiceQuestion = this.choiceQuestion;
final dateQuestion = this.dateQuestion;
final fileUploadQuestion = this.fileUploadQuestion;
final grading = this.grading;
final questionId = this.questionId;
final ratingQuestion = this.ratingQuestion;
final required = this.required;
final rowQuestion = this.rowQuestion;
final scaleQuestion = this.scaleQuestion;
final textQuestion = this.textQuestion;
final timeQuestion = this.timeQuestion;
return {
'choiceQuestion': ?choiceQuestion,
'dateQuestion': ?dateQuestion,
'fileUploadQuestion': ?fileUploadQuestion,
'grading': ?grading,
'questionId': ?questionId,
'ratingQuestion': ?ratingQuestion,
'required': ?required,
'rowQuestion': ?rowQuestion,
'scaleQuestion': ?scaleQuestion,
'textQuestion': ?textQuestion,
'timeQuestion': ?timeQuestion,
};
}