showiOSEventModal method

Future<Result<void>> showiOSEventModal(
  1. String eventId
)

Displays a native iOS view EKEventViewController https://developer.apple.com/documentation/eventkitui/ekeventviewcontroller

Allows to change the event's attendance status Works only on iOS Returns after dismissing EKEventViewController's dialog

Implementation

Future<Result<void>> showiOSEventModal(
  String eventId,
) {
  return _invokeChannelMethod(
    ChannelConstants.methodNameShowiOSEventModal,
    arguments: () => <String, String>{
      ChannelConstants.parameterNameEventId: eventId,
    },
  );
}