logout method
Implementation
Future logout({bool browserLogout = false}) async {
try {
await _channel.invokeMethod(
'logout', <String, dynamic>{'browserLogout': browserLogout});
} on PlatformException catch (e) {
throw _convertException(e);
}
}