toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'intervalMinutes': intervalMinutes,
'accuracy': accuracy.name,
'notificationChannelId': notificationChannelId,
'notificationTitle': notificationTitle,
'notificationBody': notificationBody,
'retentionDays': retentionDays,
'maxRecords': maxRecords,
'databasePath': databasePath,
};
}