XTypeGroup class

A set of allowed XTypes.

Annotations

Constructors

XTypeGroup({String? label, List<String>? extensions, List<String>? mimeTypes, List<String>? uniformTypeIdentifiers, List<String>? webWildCards, @Deprecated('Use uniformTypeIdentifiers instead') List<String>? macUTIs})
Creates a new group with the given label and file extensions.
const

Properties

allowsAny bool
True if this type group should allow any file.
no setter
extensions List<String>?
The extensions for this group.
no setter
hashCode int
The hash code for this object.
no setterinherited
label String?
The 'name' or reference to this group of types.
final
macUTIs List<String>?
Returns the list of uniform type identifiers for this group
no setter
mimeTypes List<String>?
The MIME types for this group.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniformTypeIdentifiers List<String>?
The uniform type identifiers for this group
final
webWildCards List<String>?
The web wild cards for this group (ex: image/, video/).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
Converts this object into a JSON formatted object.
toString() String
A string representation of this object.
inherited

Operators

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