FileType class

Base class for File type.

Implementers

Constructors

FileType(String type)
FileType.byExtension(String ext)

Properties

hashCode int
The hash code for this object.
no setterinherited
isAudioType bool
no setter
isBinaryType bool
no setter
isFontType bool
no setter
isImageType bool
no setter
isJavaScriptType bool
no setter
isJsonType bool
no setter
isTextType bool
no setter
isVideoType bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of this File (lower-case and trimmed).
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

Static Methods

getExtensionType(String ext) String