toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (challengeMetrics != null) 'challengeMetrics': challengeMetrics!,
if (name != null) 'name': name!,
if (scoreMetrics != null) 'scoreMetrics': scoreMetrics!,
if (startTime != null) 'startTime': startTime!,
};