logout method Null safety
Deletes saved credentials from storage
Implementation
Future<bool> logout() async {
OpenFoodAPIConfiguration.globalUser = null;
DaoSecuredString.remove(key: _USER_ID);
DaoSecuredString.remove(key: _PASSWORD);
notifyListeners();
final bool contains = await credentialsInStorage();
return !contains;
}