getCalendarAccounts method

Future<List<CalendarAccount>?> getCalendarAccounts()

This method will fetch the calendar accounts associated to this device. If you are added any external calendars make sure it is synced and available using any calendar applications.

Implementation

Future<List<CalendarAccount>?> getCalendarAccounts() {
  return CalendarEventsPlatform.instance.getCalendarAccounts();
}