toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final abbreviation = this.abbreviation;
  final answerChoices = this.answerChoices;
  final answerInstructions = this.answerInstructions;
  final createTime = this.createTime;
  final metrics = this.metrics;
  final name = this.name;
  final order = this.order;
  final predefinedQuestionConfig = this.predefinedQuestionConfig;
  final qaQuestionDataOptions = this.qaQuestionDataOptions;
  final questionBody = this.questionBody;
  final questionType = this.questionType;
  final tags = this.tags;
  final tuningMetadata = this.tuningMetadata;
  final updateTime = this.updateTime;
  return {
    'abbreviation': ?abbreviation,
    'answerChoices': ?answerChoices,
    'answerInstructions': ?answerInstructions,
    'createTime': ?createTime,
    'metrics': ?metrics,
    'name': ?name,
    'order': ?order,
    'predefinedQuestionConfig': ?predefinedQuestionConfig,
    'qaQuestionDataOptions': ?qaQuestionDataOptions,
    'questionBody': ?questionBody,
    'questionType': ?questionType,
    'tags': ?tags,
    'tuningMetadata': ?tuningMetadata,
    'updateTime': ?updateTime,
  };
}