logoutWebUser static method
Logs out a web user session.
This method logs out the specified web chat sessions identified by their login IDs.
Returns:
A Future<bool?>
that resolves to true
if logout is successful, false
otherwise.
Usage example:
bool? isLoggedOut = await Mirrorfly.logoutWebUser();
if (isLoggedOut == true) {
print("Web user logged out successfully.");
} else {
print("Failed to log out web user.");
}
Implementation
static Future<bool?> logoutWebUser() {
return FlyChatFlutterPlatform.instance.logoutWebUser();
}