logout method
clear user input data
Implementation
Future logout() async {
try {
if (Platform.isAndroid) {
await _channel.invokeMethod('loadAccounts');
}
await _channel.invokeMethod('logout', <String, dynamic>{});
} on PlatformException catch (e) {
throw _convertException(e).errorMessage;
}
}