getContentAccess method
Implementation
Future<ContentAccessModel?> getContentAccess() async {
ConscentMethods()._getPaywallDetails();
var loginId = await CoreDb.instance().getLoginId();
print("loginId $loginId");
if (loginId == null) {
LoginChallengepost loginChallengepost = await _createLogInChallenge();
loginId = loginChallengepost.loginChallengeId;
}
var responseData = await _getSessionID(loginId.toString());
return responseData;
}