finishActivity method
Implementation
Future<void> finishActivity(
Request request,
Response response,
String title,
String message,
) async {
if (onHttpFinish is Function) {
await onHttpFinish!(request.hashCode, title, message);
}
await logRequest(request);
await logResponse(response);
}