addEvent method

Future<String?> addEvent(
  1. CalendarEvent event
)

For adding events to the native calendar Please check checkCalendarPermission and requestPermission

Implementation

Future<String?> addEvent(CalendarEvent event) {
  return CalendarEventsPlatform.instance.addEvent(event);
}