defaultContentType property

  1. @override
MediaType defaultContentType
inherited

Default content-type. This will depend on the type of request and should be implemented by the subclasses.

Implementation

@override
MediaType get defaultContentType =>
    MediaType('text', 'plain', {'charset': encoding.name});