toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (actorUserId != null) 'actorUserId': actorUserId!,
  if (gradeChangeType != null) 'gradeChangeType': gradeChangeType!,
  if (gradeTimestamp != null) 'gradeTimestamp': gradeTimestamp!,
  if (maxPoints != null) 'maxPoints': maxPoints!,
  if (pointsEarned != null) 'pointsEarned': pointsEarned!,
};