errorListner function
dynamic
errorListner({
- dynamic apiname,
- dynamic request,
- dynamic responsed,
- dynamic app_error,
Implementation
errorListner({apiname, request, responsed, app_error}) async {
http.Response response =
await http.post(Uri.parse('${SDK_BASE_URL}app_log'), body: {
"apiname": '${SDK_BASE_URL}${apiname}',
"token": SignUpController.currentUserToken,
"request": request,
"response": responsed,
"app_error": app_error
});
var decodedResponse = json.decode(response.body);
}