logout method

Future<bool> logout(
  1. MSALSignoutParameters signoutParameters,
  2. MSALAccount account
)

Implementation

Future<bool> logout(
    MSALSignoutParameters signoutParameters, MSALAccount account) async {
  try {
    final result = await _channel.invokeMethod<bool>('logout', {
      'accountId': account.identifier,
      'signoutParameters': signoutParameters.toMap()
    });
    return result ?? false;
  } on PlatformException catch (e) {
    throw _convertException(e);
  }
}