contentType property

String? contentType
final

The Content-Type header value. This value needs to be specified if using a fileBody that is neither Blob nor File nor FormData, otherwise will default to text/plain;charset=UTF-8.

Implementation

final String? contentType;