toJson method
Implementation
Map<String, dynamic> toJson() => _withoutNulls({
'type': type?.name,
'scoreFactor': scoreFactor,
'targetTime': targetTime,
'targetReps': targetReps,
'passCriteria': passCriteria,
'targetRom': targetRom,
});