MimeTypeInfo class

Detailed description of a specific MIME type, including an icon and label that describe the type https://developer.android.com/reference/android/content/ContentResolver.MimeTypeInfo

Constructors

MimeTypeInfo({required String label, required Uint8List icon, required String contentDescription})
Creates a detailed description of a specific MIME type.
const
MimeTypeInfo.fromMap(BundleMap map)
Creates a MIME type description from map.
factory

Properties

contentDescription String
A content description for this MIME type.
final
hashCode int
The hash code for this object.
no setterinherited
icon Uint8List
A visual representation of this MIME type.
final
label String
A textual representation of this MIME type.
final
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
toMap() BundleMap
Converts the MIME type description to map.
toString() String
A string representation of this object.
override

Operators

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