Dart SDK
dart:io
ContentType
primaryType
property
primaryType
ContentType
Static properties
TEXT
HTML
JSON
BINARY
Static methods
parse
Properties
mimeType
primaryType
subType
charset
value
parameters
Constructors
ContentType
String
primaryType
read-only
Gets the primary type.