isSuccessfulResponse

private fun isSuccessfulResponse(response: JsonObject?): ResponseStatus

Method used to get whether the request has been successful or not

Return

whether the request has been successful or not as ResponseStatus

Parameters

response

The response of the request