revokeContactSync static method
Revokes the contact synchronization process.
This method is used to revoke or cancel the ongoing contact synchronization process with the Mirrorfly platform. It can be useful in scenarios where the app needs to stop the synchronization process due to user action or any other condition.
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.
Throws:
- PlatformException if there is an issue with revoking the contact sync process.
Implementation
static Future<void> revokeContactSync(
{required Function(FlyResponse response) flyCallBack}) {
return FlyChatFlutterPlatform.instance.revokeContactSync(flyCallBack);
}