You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.7 KiB
Dart
52 lines
1.7 KiB
Dart
class ApiConsts {
|
|
static const maxSmallScreen = 660;
|
|
|
|
static bool isDevelopment = true;
|
|
|
|
// static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT
|
|
static String baseUrl = 'https://hmgwebservices.com/'; // HIS API URL PROD
|
|
|
|
static String SELECT_DEVICE_IMEI = 'Services/Patients.svc/REST/Patient_SELECTDeviceIMEIbyIMEI';
|
|
|
|
static num VERSION_ID = 18.9;
|
|
|
|
static setBackendURLs() {
|
|
if (isDevelopment) {
|
|
baseUrl = "https://uat.hmgwebservices.com/";
|
|
} else {
|
|
baseUrl = "https://hmgwebservices.com/";
|
|
}
|
|
}
|
|
}
|
|
|
|
class SharedPrefsConsts {
|
|
static String isRememberMe = "remember_me";
|
|
static String username = "doctorId";
|
|
static String password = "password";
|
|
static String logInTokenID = "logInTokenID";
|
|
static String vidaAuthTokenID = "vidaAuthTokenID";
|
|
static String vidaRefreshTokenID = "vidaRefreshTokenID";
|
|
static String authenticationTokenID = "authenticationTokenID";
|
|
static String projectID = "projectID";
|
|
static String clinicId = "clinicId";
|
|
static String lastLoginDate = "lastLoginDate";
|
|
static String lastLoginTime = "lastLoginTime";
|
|
static String memberModel = "memberModel";
|
|
|
|
static String isShowOnboarding = "is_show_onboarding";
|
|
static String appAuthToken = "app_auth_token";
|
|
static String appUserID = "app_user_id";
|
|
static String loggedInUserObj = "logged_in_user_obj";
|
|
|
|
static String PUSH_TOKEN = "push_token";
|
|
static String APNS_TOKEN = "apns_token";
|
|
static String VOIP_TOKEN = "voip_token";
|
|
static String PATIENT_MRN = "patient_mrn";
|
|
|
|
static String loggedInUserID = "logged_in_user_id";
|
|
static String loggedInUserPassword = "logged_in_user_password";
|
|
|
|
static String user_lat = 'user-lat';
|
|
static String user_long = 'user-long';
|
|
}
|