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