logout method
Logout user from Microsoft account.
Implementation
@override
Future<void> logout() async {
await _ErrorHandler.guard(() async {
if (Platform.isAndroid) {
await methodChannel.invokeMethod('loadAccounts');
}
await methodChannel.invokeMethod('logout', <String, dynamic>{});
});
}