clearSession function

Future<void> clearSession()

Clear the plugin's SharedPrefs keys

Implementation

Future<void> clearSession() async {
  const storage = FlutterSecureStorage();
  storage.delete(key: Constants.credentials);
  GetStorage().remove(Constants.config);
  GetStorage().remove(Constants.tokens);
}