logout static method
void
logout()
Clear the authenticated user.
Implementation
static void logout() {
if (Nylo.isInitialized()) {
final authKey = Nylo.instance.getAuthKey();
if (authKey != null) {
Backpack.instance.delete(authKey);
}
}
_currentUser = null;
}