FilePickerAcceptType class
Consists of an optional description and a number of MIME types and extensions (accept). If no description is provided one will be generated. Extensions have to be strings that start with a "." and only contain valid suffix code points. Additionally extensions are limited to a length of 16 characters.
Common MIME types on MDN Web Docs
Constructors
Properties
-
accept
→ Map<
String, List< String> > -
A Map with the keys set to the MIME type and the values a List of file extensions.
final
- description → String?
-
An optional description of the category of files types allowed.
final
- 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