Map<String, dynamic> toMap() { return <String, dynamic>{ 'daysInCycle': daysInCycle, 'duration': duration, 'startTime': startTime, }; }