logout method
Delete the token,
Implementation
Future<void> logout() async {
/// clear the storage
try {
await _storage!.deleteAll();
} catch (_) {
/// TODO: handle the [PlatformException] here
}
}
Delete the token,
Future<void> logout() async {
/// clear the storage
try {
await _storage!.deleteAll();
} catch (_) {
/// TODO: handle the [PlatformException] here
}
}