type
methods
ext |
Return file name extension (everything after the last dot) or |
---|---|
name |
Name of file. |
readAsDataUri |
Asynchronously load file contents as a |
readAsText |
Asynchronously load file contents as text and invoke the callback function with results. |
size |
Size of file in bytes. |
type |
MIME type of the file as a read-only string or "" if the type could not be determined. |
Slot Details
ext
Str? ext()
Return file name extension (everything after the last dot) or null
name has no dot.
name
Str name()
Name of file. This is just the file name, and does not include any path information.
readAsDataUri
readAsText
size
Int size()
Size of file in bytes.
type
Str type()
MIME type of the file as a read-only string or "" if the type could not be determined.