MimeType enum
MimeType is an enum for adding filetype for HTML Blob
Values
- aac → const MimeType
-
aac for .aac extension
const MimeType(name: 'AAC', type: 'audio/aac') - apng → const MimeType
-
apng for .apng extension
const MimeType(name: 'APNG', type: 'image/apng') - asice → const MimeType
-
asice for .asice
const MimeType(name: 'ASICE', type: 'application/vnd.etsi.asic-e+zip') - asics → const MimeType
-
asics for .asice
const MimeType(name: 'ASICS', type: 'application/vnd.etsi.asic-s+zip') - avi → const MimeType
-
avi for .avi extension
const MimeType(name: 'AVI', type: 'video/x-msvideo') - avif → const MimeType
-
avif for .avif extension
const MimeType(name: 'AVIF', type: 'image/avif') - bDoc → const MimeType
-
bDoc for .asice
const MimeType(name: 'BDoc', type: 'application/vnd.etsi.asic-e+zip') - bmp → const MimeType
-
bmp for .bmp extension
const MimeType(name: 'Bitmap', type: 'image/bmp') - csv → const MimeType
-
csv for .csv extension
const MimeType(name: 'CSV', type: 'text/csv') - epub → const MimeType
-
epub for .epub extention
const MimeType(name: 'Epub', type: 'application/epub+zip') - gif → const MimeType
-
gif for .gif extension
const MimeType(name: 'GIF', type: 'image/gif') - heic → const MimeType
-
heic for .heic extension
const MimeType(name: 'HEIC', type: 'image/heic') - heif → const MimeType
-
heif for .heif extension
const MimeType(name: 'HEIF', type: 'image/heif') - jpeg → const MimeType
-
jpeg for .jpeg extension
const MimeType(name: 'JPEG', type: 'image/jpeg') - json → const MimeType
-
json for .json extension
const MimeType(name: 'JSON', type: 'application/json') - markdown → const MimeType
-
markdown for .md extension
const MimeType(name: 'Markdown', type: 'text/markdown') - microsoftExcel → const MimeType
-
microsoftExcel for .xlsx extension
const MimeType(name: 'Microsoft Excel', type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') - microsoftPresentation → const MimeType
-
microsoftPresentation for .pptx extension
const MimeType(name: 'Microsoft Presentation', type: 'application/vnd.openxmlformats-officedocument.presentationml.presentation') - microsoftWord → const MimeType
-
microsoftWord for .docx extension
const MimeType(name: 'Microsoft Word', type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document') - mp3 → const MimeType
-
mp3 for .mp3 extension
const MimeType(name: 'MP3', type: 'audio/mpeg') - mp4Audio → const MimeType
-
mp4Audio for .mp4 extension for audio files
const MimeType(name: 'MP4 Audio', type: 'audio/mp4') - mp4Object → const MimeType
-
mp4Object for .mp4 extension for other media files with mp4 extension
const MimeType(name: 'MP4 Object', type: 'application/mp4') - mp4Video → const MimeType
-
mp4Video for .mp4 extension for video files
const MimeType(name: 'MP4 Video', type: 'video/mp4') - mpeg → const MimeType
-
mpeg for .mpeg extension
const MimeType(name: 'MPEG', type: 'video/mpeg') - openDocPresentation → const MimeType
-
openDocPresentation for .odp extension
const MimeType(name: 'Open Document Presentation', type: 'application/vnd.oasis.opendocument.presentation') - openDocSheets → const MimeType
-
openDocSheets for .ods extension
const MimeType(name: 'Open Document Sheets', type: 'application/vnd.oasis.opendocument.spreadsheet') - openDocText → const MimeType
-
openDocText for .odt extension
const MimeType(name: 'Open Document Text', type: 'application/vnd.oasis.opendocument.text') - otf → const MimeType
-
otf for .otf extension
const MimeType(name: 'OTF', type: 'font/otf') - other → const MimeType
-
other for other extension
const MimeType(name: 'Other', type: 'application/octet-stream') - pdf → const MimeType
-
pdf for .pdf extension
const MimeType(name: 'PDF', type: 'application/pdf') - png → const MimeType
-
png for .png extension
const MimeType(name: 'PNG', type: 'image/png') - rar → const MimeType
-
rar for .rar extension
const MimeType(name: 'RAR', type: 'application/x-rar-compressed') - sql → const MimeType
-
sql for .sql extension
const MimeType(name: 'SQL', type: 'application/sql') - svg → const MimeType
-
svg for .svg extension
const MimeType(name: 'SVG', type: 'image/svg+xml') - text → const MimeType
-
text for .txt extension
const MimeType(name: 'Text', type: 'text/plain') - ttf → const MimeType
-
ttf for .ttf extension
const MimeType(name: 'TTF', type: 'font/ttf') - webm → const MimeType
-
webm for .webm extension
const MimeType(name: 'WebM', type: 'video/webm') - webp → const MimeType
-
webp for .webp extension
const MimeType(name: 'WebP', type: 'image/webp') - xml → const MimeType
-
xml for .xml extension
const MimeType(name: 'XML', type: 'application/xml') - yaml → const MimeType
-
yaml for .yaml extension
const MimeType(name: 'YAML', type: 'application/x-yaml') - zip → const MimeType
-
zip for .zip extension
const MimeType(name: 'ZIP', type: 'application/zip') - custom → const MimeType
-
Custom mimeType which is not yet added in the enum
const MimeType(name: 'Custom', type: '')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
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.
inherited