toInsertJson method
Implementation
Map<String, dynamic> toInsertJson() {
return {
'path_id': pathId,
'domain_id': domainId,
'position': position,
'required_mastery': requiredMastery,
if (estimatedHours != null) 'estimated_hours': estimatedHours,
};
}