logoutOfChatSDK method
Implementation
@override
Future<dynamic> logoutOfChatSDK() async {
//logout
dynamic logoutResponse;
try {
logoutResponse = await mirrorFlyMethodChannel.invokeMethod('logoutOfChatSDK');
LogMessage.d("logoutResponse ", " $logoutResponse");
return logoutResponse;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}