toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (correct != null) 'correct': correct!,
      if (feedback != null) 'feedback': feedback!,
      if (score != null) 'score': score!,
    };