File class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('File')
  • @Native("File")

Constructors

File(List<Object> fileBits, String fileName, [ Map options ])
factory

Properties

lastModified int
@DocsEditable(), @DomName('File.lastModified'), @Experimental(), final
lastModifiedDate DateTime
@DocsEditable(), @DomName('File.lastModifiedDate'), read-only
name String
@DocsEditable(), @DomName('File.name'), final
relativePath String
@DocsEditable(), @DomName('File.webkitRelativePath'), @Experimental(), @JSName('webkitRelativePath'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
@DocsEditable(), @DomName('Blob.size'), final, inherited
type String
@DocsEditable(), @DomName('Blob.type'), final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
slice([int start, int end, String contentType ]) Blob
@DocsEditable(), @DomName('Blob.slice'), inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited