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(
    'application', 'x-www-form-urlencoded', {'charset': encoding.name});