handleResponse<T> function
- @protected
- dynamic object,
- ParseNetworkResponse response,
- ParseApiRQ type,
- bool debug,
- String className,
Handles an API response and logs data if bool debug is enabled
Implementation
@protected
ParseResponse handleResponse<T>(dynamic object, ParseNetworkResponse response,
ParseApiRQ type, bool debug, String className) {
final ParseResponse parseResponse =
_ParseResponseBuilder().handleResponse<T>(object, response, type);
if (debug) {
logAPIResponse(className, type.toString(), parseResponse);
}
return parseResponse;
}