disconnectCall static method

Future<void> disconnectCall({
  1. required dynamic flyCallBack(
    1. FlyResponse response
    ),
})

Provides functionality to disconnect a call in the Mirrorfly platform.

This static method invokes the disconnectCall method from the FlyChatFlutterPlatform instance to disconnect the ongoing call.

The flyCallBack parameter is a function that will be called upon completion of the operation. It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.

Implementation

static Future<void> disconnectCall(
    {required Function(FlyResponse response) flyCallBack}) async {
  return FlyChatFlutterPlatform.instance.disconnectCall(flyCallBack);
}