class LoginApiClient { static final LoginApiClient _instance = LoginApiClient._internal(); LoginApiClient._internal(); factory LoginApiClient() => _instance; // Future checkMobileAppVersion() async { // String url = "${ApiConsts.utilitiesRest}CheckMobileAppVersion"; // Map postParams = {}; // postParams.addAll(AppState().postParamsJson); // return await ApiClient().postJsonForObject((json) => CheckMobileAppVersionModel.fromJson(json), url, postParams); // } // // Future memberLogin(String username, String password) async { // String url = "${ApiConsts.erpRest}MemberLogin"; // Map postParams = {"P_APP_VERSION": "CS", "P_LANGUAGE": "US", "P_PASSWORD": password, "P_USER_NAME": username}; // postParams.addAll(AppState().postParamsJson); // return await ApiClient().postJsonForObject((json) { // GenericResponseModel responseData = GenericResponseModel.fromJson(json); // AppState().postParamsObject?.setLogInTokenID = responseData.logInTokenID; // return responseData.memberLoginList; // }, url, postParams); // } }