W3cubDocs

/Dart 2

contentType property

ContentType contentType
read / write

Gets and sets the content type. Note that the content type in the header will only be updated if this field is set directly. Mutating the returned current value will have no effect.

Implementation

ContentType contentType

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/HttpHeaders/contentType.html