contentType property Null safety

  1. @override
ContentType? contentType

Determines how bytes get decoded.

A decoder is chosen from CodecRegistry according to this value.

Implementation

@override
ContentType? get contentType => _response.headers.contentType;