logout method

Future<void> logout(
  1. String token
)

Logs out the user with the current guard.

token The token to invalidate

Implementation

Future<void> logout(String token) async {
  await _guardInstance.logout(token);
}