compressionState property

  1. @override
HttpClientResponseCompressionState compressionState
override

The compression state of the response.

This specifies whether the response bytes were compressed when they were received across the wire and whether callers will receive compressed or uncompressed bytes when they listed to this response's byte stream.

Implementation

@override
HttpClientResponseCompressionState get compressionState =>
    // ignore: invalid_use_of_visible_for_testing_member
    super.noSuchMethod(Invocation.getter(#compressionState),
            returnValue: HttpClientResponseCompressionState.notCompressed)
        as HttpClientResponseCompressionState;