handleResponse<T> function

  1. @protected
ParseResponse handleResponse <T>(
  1. dynamic object,
  2. ParseNetworkResponse response,
  3. ParseApiRQ type,
  4. bool debug,
  5. 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;
}