contentType property Null safety

  1. @override
ContentType? contentType
override

Determines how bytes get decoded.

A decoder is chosen from CodecRegistry according to this value.

Implementation

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