toMap method
Converts this TimerSettings instance to a map for Firestore storage.
Implementation
Map<String, dynamic> toMap() {
return {
workDurationFieldName: workDuration,
shortBreakDurationFieldName: shortBreakDuration,
longBreakDurationFieldName: longBreakDuration,
pomodorosUntilLongBreakFieldName: pomodorosUntilLongBreak,
};
}