getEventsByWeek method
Returns all the available events on the given date Range
Implementation
Future<List<CalendarEvent>?> getEventsByWeek({
required String calendarId,
required DateTime findDate,
}) async {
DateTime startDate = findFirstDateOfTheWeek(findDate);
DateTime endDate = findLastDateOfTheWeek(findDate);
return getEventsByDateRange(
calendarId: calendarId, startDate: startDate, endDate: endDate);
}