MimeType class

identifies the type of content of a message

Constructors

MimeType(String primaryType, String subType)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isFormData bool
no setter
isJson bool
no setter
isOctetStream bool
no setter
isUrlEncodedForm bool
no setter
mimeType String
Gets the mime-type, without any parameters.
final
primaryType String
Gets the primary type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subType String
Gets the sub type.
final

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.
override

Static Methods

parse(String contentTypeHeader) MimeType

Constants

octetStream → const MimeType