throwHTTPError method
Implementation
throwHTTPError(String resStatusCode, String resBody) {
Dao.inst.isDebug == true
? openDialog(Dao.inst.httpErrorHeader,
'${Dao.inst.httpPreErrorMessage} \n\n Error Code - $resStatusCode \n\n Error - $resBody \n\n${Dao.inst.httpPostErrorMessage}')
: print(
'${Dao.inst.httpPreErrorMessage} \n\n Error Code - $resStatusCode \n\n Error - $resBody \n\n${Dao.inst.httpPostErrorMessage}');
}