getByDayName method
Implementation
List<String> getByDayName() {
if (data['BYDAY'] != null) {
String daysString = data['BYDAY'] ?? '';
List<String> daysList = daysString.split(',').map((e) => daysNames[e]!).toList();
return daysList.isNotEmpty ? daysList : [daysNames[daysString]!];
}
return [];
}