logout method

Future logout({
  1. bool browserLogout = false,
})

Implementation

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