wpLogout method

dynamic wpLogout()

Logs out the user by deleting the user token from the local storage

Implementation

wpLogout() async {
  await NyStorage.delete(WPJsonAPI.storageKey());
}