toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "correct_option_id": this.correctOptionId,
    "explanation":
        this.explanation == null ? null : this.explanation.toJson(),
  };
}