logoutOthers method

Future<void> logoutOthers(
  1. dynamic userId,
  2. String currentToken
)

Logs out the user from other devices (keeps current session)

userId The user ID currentToken The current token to keep active

Implementation

Future<void> logoutOthers(dynamic userId, String currentToken) async {
  await _guardInstance.logoutOthers(userId, currentToken);
}