MimeType class

Provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

MimeType.new()
factory

Properties

description String

Available on MimeType, provided by the MimeType$Typings extension

Returns the MIME type's description.
no setter
enabledPlugin Plugin

Available on MimeType, provided by the MimeType$Typings extension

Returns the Plugin object that implements this MIME type.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixes String

Available on MimeType, provided by the MimeType$Typings extension

Returns the MIME type's typical file extensions, in a comma-separated list.
no setter
type String

Available on MimeType, provided by the MimeType$Typings extension

Returns the MIME type.
no setter

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