File class

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

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

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

Properties

lastModifiedint
@DocsEditable(), @DomName('File.lastModified'), @Experimental(), read-only
lastModifiedDateDateTime
@DocsEditable(), @DomName('File.lastModifiedDate'), read-only
nameString
@DocsEditable(), @DomName('File.name'), read-only
relativePathString
@DocsEditable(), @DomName('File.webkitRelativePath'), @Experimental(), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI), read-only
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

sizeint
@DocsEditable(), @DomName('Blob.size'), read-only, inherited
typeString
@DocsEditable(), @DomName('Blob.type'), read-only, inherited

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

close() → void
@DocsEditable(), @DomName('Blob.close'), @Experimental(), inherited
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

slice([int start, int end, String contentType ]) → Blob
inherited
toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/File-class.html