toString method
String representation of the test response.
Provides a concise summary of the response status and body size for debugging and logging purposes.
Example output: 'TestResponse(200, 1024 bytes)'
Implementation
@override
String toString() {
return 'TestResponse($statusCode, ${body.length} bytes)';
}