ContentType class abstract

Content-Type in Header

Define most common type.

Constructors

ContentType()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

contentTypeHeaderKey → const String
content-type
css → const String
text/css
csv → const String
text/csv
formData → const String
multipart/form-data
gif → const String
image/gif
html → const String
text/html
javascript → const String
application/javascript
jpeg → const String
image/jpeg
json → const String
application/json
mp4 → const String
video/mp4
mpeg → const String
video/mpeg
pdf → const String
application/pdf
png → const String
image/png
quicktime → const String
video/quicktime
text → const String
text/plain
tiff → const String
image/tiff
x_www_form_urlencoded → const String
application/x-www-form-urlencoded
xml → const String
application/xml
zip → const String
application/zip