initializeMeet static method

Future<void> initializeMeet({
  1. required String callLinkId,
  2. required String userName,
  3. required dynamic flyCallback(
    1. FlyResponse response
    ),
})

Initializes a meeting with the specified call link and user name.

This method sets up a meeting using the provided call link and user name. Upon completion, the provided callback function flyCallback is invoked with a FlyResponse object, which contains information about the success or failure of the operation.

Parameters: callLinkId - The call link id for the meeting. userName - The user name to be used in the meeting.

Returns: flyCallback - A function that is called upon completion of the operation.

Implementation

static Future<void> initializeMeet(
    {required String callLinkId,
    required String userName,
    required Function(FlyResponse response) flyCallback}) {
  return FlyChatFlutterPlatform.instance
      .initializeMeet(callLinkId, userName, flyCallback);
}